sigma-z / jentin
Jentin MVC Framework
Installs: 12 627
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 3
Forks: 1
Open Issues: 0
Requires
- php: ^7.2
- symfony/event-dispatcher: ~4
Requires (Dev)
- phpunit/phpunit: ~6
README
It's lightweight and object orientated programmed. It components are loose coupled, introduced by interfaces, clean, maintainable and extensible.
Requires
- PHP 7.1.3 or greater
- Symfony's EventDispatcher (https://github.com/symfony/EventDispatcher)
Features
- Template rendering with the View plugin
- Request routing
- Plugins (for controller and view renderer)
- RouteUrl - creates url for by given route name and route params
- View - helper for rendering view templates
- Event handling
- onRoute - dispatched on routing the request
- onRouteCallback - dispatched on routing when route is using a callback
- onController - dispatched creating corresponding controller
- onControllerDispatch - dispatched on controller dispatch
- onFilterResponse - dispatched before response is ready to sent
- custom events may be defined