polymorphine / app
PHP Front Controller for HTTP applications
0.1.2
2022-10-05 01:02 UTC
Requires
- php: ^7.4 || ^8.0
- polymorphine/container: ^1.0
- psr/http-message: ^1.0
- psr/http-server-handler: ^1.0
- psr/http-server-middleware: ^1.0
Requires (Dev)
- polymorphine/dev: 0.2.*
This package is auto-updated.
Last update: 2024-12-05 05:39:12 UTC
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
...