Maravel Framework 10.64 brings full FormRequest, view, cookie and session support to Maravel
maravel-framework 10.64 adds the view:cache command to Maravel coupled with FormRequest, session (CSRF) and cookie support.
It also converts view, cookie and session service providers into deferrable providers for Maravelith and adds beforeResolving, resolving and afterResolving events cache for both Maravel and Maravelith.
Because Maravel supports views, you might want to use csrf tokens so, be sure to manually register only the needed middlewares on the routes that need them:
\Illuminate\Cookie\Middleware\EncryptCookies::class, \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, \Illuminate\Session\Middleware\StartSession::class, \Illuminate\View\Middleware\ShareErrorsFromSession::class, \Illuminate\Session\Middleware\VerifyCsrfToken::class,
Benchmarks show that making those 3 providers deferred increased the API RPS by 90% in Maravelith while lowering the RPS for WEB back to Laravel's WEB value.
Laravel 10 API vs Laravel 10 WEB shows an increase of over 32% in RPS.
Memory consumption decreased also for Maravelith API vs WEB by 3 % while for Laravel 10 it remained the same.
Version 10.64.17 introduced also routing by domain.
