laravel release date features

Why Is Laravel 7 Release Date The Most Trending Thing Now?

10 Things Nobody Told You About Laravel 7 Release Date.

Laravel 7 release date is coming with new exciting features and many more extra things you should know.

Before we talk about the Laravel 7 release date an updated version of Laravel release date and features, let us first know what Laravel is.

Laravel is a free & open-source PHP web application framework intended for the development of web applications following the model–view–controller (MVC) architectural pattern and based on Symfony.

Laravel’s major frameworks releases are released every six months, while minor and patch releases may be released as often as every week.

In every Laravel newer version, it adds some new features and fixes old bugs.

laravel 7 release date

According to the official website of Laravel, the Laravel 7 release date is on 3rd March 2020.

Laravel 7 release date and features

  1. Laravel Airlock
  2. Zttp for HTTP client
  3. CORS Support
  4. Custom Eloquent Cast
  5. Fluent String Operations
  6. Blade X
  7. Customizable Stubs
  8. Query Time Casts
  9. Multiple Mail Driver
  10. New Artisan Command

According to the 6-month major Laravel version release strategy of the Laravel framework, it is another major version to be released. It is not an LTS version.

According to the Laravel version support policy, they provide 6-month by fix until 3rd September 2020, and 1-year security issues fix support until 3rd March 2021.

Laravel 7 release date list

Version Release Bug Fixes Until Security Fixes Until
5.5 (LTS) 30th August 2017 30th August 2019 30th August 2020
5.6 7th February 2018 7th August 2018 7th February 2019
5.7 4th September 2018 4th March 2019 4th September 2019
5.8 26th February 2019 26th August 2019 26th February 2020
6 (LTS) 3rd September 2019 3rd September 2021 3rd September 2022
7 March 3rd, 2020 3rd September 2020 3rd March 2021

Read about android 11.

Laravel 7 Features And Improvements

Laravel 7 continues the improvements made in Laravel 6.x. Laravel 7 features on upcoming release as

  1. custom Eloquent casts,
  2. routing speed improvements,
  3. Laravel Airlock,
  4. Blade component tags,
  5. fluent string operations,
  6. a developer-focused HTTP client,
  7. first-party CORS support,
  8. improved scoping for route model binding,
  9. stub customization,
  10. database queue improvements,
  11. multiple mail drivers,
  12. query-time casts,
  13. a new artisan test command,
  14. and a variety of other bug fixes and usability improvements.

Laravel Airlock

Laravel Airlock is an official package for API authentication.

It provides a featherweight authentication system for SPAs, mobile applications, and simple, token-based APIS.

It allows each user of your application to generate multiple API tokens for their account.

Zttp for HTTP Clients

With Zttp, it’ll be nicer & cleaner way to make an HTTP request to an API endpoint.

Post request

Get Request


CORS support

Now Laravel 7 supports CORS (Cross-Origin Resource Sharing) out of the box. You know better every developer faces the CORS problem during API development.

Now Laravel 7 automatically responds to your OPTION request with your configured value.

HandledCors middleware will take care of all, which Laravel 7 provides out of the box.

Custom Eloquent Cast

Custom eloquent casting in Laravel 7 is another cool feature. These features will give you the ability to add your won custom casts.

Let’s take a look for a JSON caster.

Now we can use our custom eloquent cast in our model

Fluent String Operations

In Laravel 7, you can do more cool and more object-oriented stuff with Illuminate\Support\Str class.

Blade X

In fact, Laravel 7 Blade X features give you the ability to make a class-less component.

Making x-component

Blade x usages

Customizable Stubs

If you wish to make small changes to the files generated by Artisan, Laravel 7 provides the stub: publish command to publish the most common stubs for customization.

Query Time Cast

Sometimes there is a need to apply casts while executing a query, such as when selecting a raw value from a table.

Laravel 7 provides with cast method that will help you to cast a value when running a query. Let us take an example.

Multiple Mail Drivers

Laravel 7 will allow you to set up multiple mail driver for a single application.

New Artisan Command

A new test artisan command added in Laravel 7.

The new test artisan command provides you with beautiful UX and useful information regarding your test that is currently running.

Also, the runner will automatically stop on the first test failure.

Laravel 7 new features or Improvements

  • Route Model Binding Improvements
  • 2x Faster route
  • Database queue improvements
  • Markdown Mail Template Improvements
  • And many other bug fixes and improvements

Route Model Binding Improvements           

Key Customization

By default, route model binding works with the id field. Now you can customize it.

Automatic Scope

It will automatically scope the query to retrieve the nested model by using its discern the usage of conventions to bet the relationship call on the figure.

Database queue improvements

The updated version of laravel provides improvements to applications using MySQL 8+ as their database-backed queue.

The database driver may now safely be used in higher volume production applications by using the FOR UPDATE SKIP LOCKED clause and other SQL enhancements.

2x Faster Route

A new method of matching complied, cached routes that have been cached using the route: cache has been included in the updated version.

Consequently, this improvement can give you a 2x faster route matching performance than Laravel 6 when using route: cache Artisan command.

Markdown Mail Template Improvements

The default markdown template for Mail has been fresher look with Tailwind CSS color palette.

The template can be published and customize as you wish and here are the Laravel release date and features.

Related topic

Bootstrap 5: Release Date, Latest Updates

News Hub