Documentation
LitPHP is a collection of components, here's a list of them.
Name | Description | Based on |
---|---|---|
litphp/air | dependency injection | PSR11 |
litphp/nimo | middleware organizer | PSR15 |
litphp/voltage | fundamental application structure | litphp/nimo PSR17 |
litphp/bolt | the microframework | litphp/voltage litphp/air |
litphp/middleware-ip-address | a middleware retrieving request ip | litphp/nimo |
litphp/middleware-cookie | a middleware read/write http cookies | litphp/nimo dflydev/fig-cookies |
litphp/router-fast-route | a router that integrates FastRoute | litphp/voltage nikic/fast-route |
litphp/runner-zend-sapi | run you bolt app with zend-diactoros on standard SAPI | litphp/bolt zendframework/zend-diactoros |
litphp/runner-react | run you bolt app with ReactPHP | litphp/bolt react/http |
litphp/runner-road-runner | run you bolt app with Roadrunner | litphp/bolt spiral/roadrunner |
litphp/runner-swoole | run you bolt app with Swoole | litphp/bolt swoole |
litphp/nexus | utility / interface helps development | |
litphp/view-plates | use plates as templating engine | league/plates |
litphp/view-php | use native php file as templating engine | slim/php-view |
litphp/view-twig | use twig as templating engine | twig/twig |
To start write your application, you should read quick start. There's a quick glance of core concepts. To run your application under various environments, you should look at this doc about runner.