polymorphine / app
PHP Front Controller for HTTP applications
0.1.5
2025-01-28 04:09 UTC
Requires
- php: ^7.4 || ^8.0
- polymorphine/container: ^1.0
- psr/http-message: ^1.1 || ^2.0
- psr/http-server-handler: ^1.0
- psr/http-server-middleware: ^1.0
Requires (Dev)
- polymorphine/dev: 0.6.*
README
PHP Front Controller for HTTP applications
Goals: Framework should be easy to learn when programming is difficult to master
- minimum conventions, simple API
- plain SOLID code and hermetic abstractions
- decoupled from application by design
- encourage pure OOP
- no imposed architecture - stateless HTTP context only
- add and learn the libraries you need
- experiment ready - have fun
Concepts:
- Front controller as PSR-15 request handler
- encapsulated configuration
- PSR-11 container (optional use)
- composite routing (polymorphic structure)
Installation with Composer
composer require polymorphine/app
...