Flex
Flex is an ultra simple PHP framework, based on PSR-7 and Zend Diactoros. Routing is done by fast-route, although you
are free to change it up., (*1)
It also features a basic middleware implementation and template system. And more to come in the future., (*2)
Todo
- Implement FirewallMiddleware
- Implement context (IoC container passed to middleware and controllers)
- Document Middleware & Loader classes
- Test Middleware & Loader & Template classes
Install with composer
composer require rubenhazelaar/flex
Docker
Getting started with Flex (using Docker) is easy as 1, 2, 3. Just run:, (*3)
docker-compose up #Add '--build' when running for the first time