library stick
Stick~to~PHP Framework
eghojansu/stick
Stick~to~PHP Framework
- Monday, July 9, 2018
- by eghojansu
- Repository
- 1 Watchers
- 0 Stars
- 23 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 10 % Grown
Stick-PHP
Stick to PHP with Fw
class as its Kernel., (*1)
The kernel contains:
- Dependency Injection
- Event Dispatcher
- Logger
- Router, (*2)
Installation
composer require eghojansu/stick
, (*3)
Usage
Example usage., (*4)
require __DIR__.'vendor/autoload.php';
Ekok\Stick\Fw::createFromGlobals()
->route('GET /', function() {
// Outputs "Hello world!"
return 'Hello world!';
})
->run()
;
TODOs
- Handle CLI Request (handle arguments and options)
- Cache
- SQL Database Helper
dev-master
9999999-dev
Stick~to~PHP Framework
Sources
Download
MIT
The Requires
The Development Requires