Maravel-Framework 10.64 Brings Resolving Events Cache And FormRequest to Maravel
Because Maravel-Framework is a DI centered framework, the efficiency of its container is crucial.
Version 10.64 introduces FormRequest in Maravel Micro-Framework 10.52.25.
Version 10.64 of Maravel-Framework removed the \Illuminate\Foundation\Providers\FormRequestServiceProvider, leading to faster registration and boot times.
Please note that using $app-beforeResolving, $app->resolving or $app->afterResolving events, the speed of the container decreases because for each resolve, all events are looped to search via “===” or “instanceof/is_subclass_of” for the ones that need to be triggered.
To partially speed up this selection, Maravel-Framework caches (via autowiring:cache coupled with in memory cache) the types of these resolving events as abstract to types as key map.
Maravelith version 10.52.16 comes with commented VerifyCsrfToken on the web routes. This middleware must be placed on each route that expects it, not on all routes from web. GET routes don’t need it.


Replies