DEV Community

Ahmed Mohamed Abd El Ftah
Ahmed Mohamed Abd El Ftah

Posted on • Edited on

Notable Features In Laravel 7

Route Matching Performance

the route matching will be twice faster than laravel 6 when using route:cache. thanks to symfony 5 PR Link.

Alt Text

Guzzle Abstraction

Laravel 7 will provide a guzzle abstraction to make most easy use cases easier to be handled through laravel instead of Guzzle PR Link.

Guzzle abstraction

Blade X

laravel 7 will provide support for blade x component syntax PR Link.

Blade X

Customizable Stubs

stub files will be customizable PR Link .

Alt Text

Custom Cast Types + Object / Value Object Casts .

this means you will be able to define your own custom cast types for Eloquent PR Link.

Custom Cast Types

View Cache Optimization

there will be a new config option called expires inside view.php which skip the check to see if a view has expired to determine if it needs to be recompiled PR Link For Full Benchmark.

Alt Text

Dynamic Storage Links

php artisan storage:link was liking to public directory by default . but in laravel 7 developers will define there own storage links dirs PR Link.

Alt Text

hope you enjoyed with these features and eager to upgrade to laravel 7 once it's officially released on march 😉 .

Alt Text

Top comments (2)

Collapse
 
hertz1 profile image
Danilo Azevedo

I think the PR Link for the "Route Matching Performance" topic is wrong?

Collapse
 
amaelftah profile image
Ahmed Mohamed Abd El Ftah

thanks for the catch