Releases: mvc5/mvc5-application
Releases · mvc5/mvc5-application
PHP 8.1
PHP 8
Traefik v2 (Docker)
Update the docker-compose file to use Traefik v2 configuration.
Final Classes
Classes have been defined as final where applicable. The new mvc5/namespace.php
file contains the Mvc5 constants, template render function and next & rewind iterator functions.
Namespaced Constants
Namespaced constants are in effect.
Sponsorship, Static Analysis Tools
A Github Sponsors funding file has been added. Static analysis tools Psalm, PHPStan and PhpMetrics have been added as dev dependencies.
PHP 7.4 New Features and Improvements
This is for the 12.0 release.
add yarn to docker compose
Add yarn to docker compose.
PHP 7.4
Login Redirect Controller
The login redirect now uses a controller to store the current URL in the session and to return a HTTP redirect response. This allows the HTTP redirect class to be configured as a service with the URL to redirect to.
'login\redirect\response' => [Mvc5\Http\HttpRedirect::class, '/login']