Skip to content

eghojansu/stick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stick-PHP

Stick to PHP with Fw class as its Kernel.

The kernel contains:

  • Dependency Injection
  • Event Dispatcher
  • Logger
  • Router

Installation

composer require eghojansu/stick

Usage

Example usage.

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

About

Micro PHP Framework

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages