Stick to PHP with Fw
class as its Kernel.
The kernel contains:
- Dependency Injection
- Event Dispatcher
- Logger
- Router
composer require eghojansu/stick
Example usage.
require __DIR__.'vendor/autoload.php';
Ekok\Stick\Fw::createFromGlobals()
->route('GET /', function() {
// Outputs "Hello world!"
return 'Hello world!';
})
->run()
;
- Handle CLI Request (handle arguments and options)
- Cache
- SQL Database Helper