rubenhazelaar / flex
There is no license information available for the latest version (v0.0.1) of this package.
An ultra simple PHP7 framework. Small and simple, just flex!
v0.0.1
2016-06-28 21:55 UTC
Requires
- php: ^7.0
- nikic/fast-route: @stable
- psr/http-message: ^1.0
- zendframework/zend-diactoros: ^1.3
Requires (Dev)
- phpmd/phpmd: @stable
- phpunit/phpunit: ^4.8
This package is not auto-updated.
Last update: 2024-05-11 17:23:33 UTC
README
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.
It also features a basic middleware implementation and template system. And more to come in the future.
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:
docker-compose up #Add '--build' when running for the first time