Laravel 7 is released and includes Laravel Airlock, better route speed, custom Eloquent queries, Blade component tags, fluid string operations, a new HTTP client, CORS support, and more.
Laravel Airlock provides a lightweight authentication system for SPas (one-page apps), mobile apps, and simple, token-based APIs. Airlock allows each user of your application to create multiple API tokens for their accounts.
Custom Eloquent Casts
Laravel has several built-in, auxiliary query types; however, sometimes you may need to define your own query types. You can now do this by defining a class that implements the CastsAttributes interface.
The class that implements this interface must define a get and set methods. When the Get method is responsible for converting a raw value from a database to a query value, the set method converts a query value to a raw value that can be stored in the database.
Blade Component Tags and Enhancements
Blade component has been overhauled to allow label-based creation, attribute management, component classes, inline view components, and more. Because blade component revision is very large, please refer to the full Blade component documentation to learn about this feature.
Route Cache Speed Improvements
Laravel 7 includes a new method to match cached compiled, cached routes using the route: cache Artisan command. In large applications (for example, applications with 800 or more routes), these improvements can provide a 2x faster improvement in requests per second in a simple "Hello World" criterion.