rubenhazelaar / flex
An ultra simple PHP7 framework. Small and simple, just flex!
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/rubenhazelaar/flex
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: 2025-10-26 01:27:50 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