Not long ago I wrote about Maravel, a PHP framework oriented towards real dependency injection, about its config and route caching not present in Lumen, about MaravelQL being a contender for GraphQL and about dynamic auto-filters and auto-aggregates.
The kernel (maravel-framework) contains now (in 10.50.3) important improvements and fixes in comparison with Laravel components 10.48.29 and Lumen 10.0.4 like:
- fix for an old eager loading (security) issue still present in Laravel 12 at the time this article is being written
- support for PHP 8.1–8.4
- config:cache that was not available in Lumen
- route:cache that was not available in Lumen
- its (faster) Container is accepting also list when resolving the classes with parameters on construct
- an improvement in the way the container instantiates classes without using reflection (when the params are send as list/empty list)
- the classes that use the Macroable trait are NOT directly instantiated but instead, they are resolved from the container (if possible), giving more power to the developer
- PSR12 coding standard as much as possible (return types and parameter types are not always there because laravel does not have all dock blocks updated properly and enforcing those would create issues)
- fix memory not limited in queue:work and queue:listen commands
- catch any exceptions thrown when checking if a field is valid and return false
app.debug_blacklist config contains by default all $_COOKIE, $_SERVER and $_ENV to avoid optimistic/unknowing devops from exposing them on public servers by setting APP_DEBUG=true
These coupled with the features of:laravel-crud-wizard-generator
represent a stronger than before option when it comes to micro-services and services, making Maravel a competitor worthy of best PHP framework for APIs.
For companies that want to exponentially shorten their delivery time in exposing database tables via RESTful API as resources or composed/decorated resources, the maravel-rest-wizard suite containing all features of MaravelQL is available.
Top comments (0)