v0.16.0
New on this version
NOTE: Code porting to PHP 8.1 ongoing.
Added
Linna\App\Models\ErrorModel
classLinna\App\Helper\RouteHelper
class, permit to declare routes directly in controller as annotation- option
onNullRoute
ofapp
section with default value/error/404
inconfig/config.php
- option
protocol
ofapp
section now is set automatically config.local.php
file for develop pourposes, it has priority onconfig.php
Fixed
- namespace convention, all under
Linna\App
namespace Linna\App\Helper\DotEnv
doesn't override configuration
Changed
- require PHP 8.1
- require linna/framework v0.27.0
- Error page system.
Linna\App\Controllers\E404Controller
renamed toApp\Controllers\ErrorController
Linna\App\Views\E404View
renamed toApp\Views\ErrorView