loading...

. . . . . .

let’s make something together

Give us a call or drop by anytime, we endeavour to answer all enquiries within 24 hours on business days.

Find us

PO Box 14, Sir Baron Jayatilaka Mawatha, Colombo 1. Sri Lanka

Email us

[email protected]

Phone support

Phone: + (094) 117 652 500

Laravel 8

  • 453 Views

Laravel is an open-source, PHP based framework which is used to develop high-end web applications with its significant and graceful syntaxes. It is created by Taylor Otwell in June 2011. It has various releases and the latest release is 8.x. Let’s jump into the features of Laravel 8.x.

Laravel Jetstream

Laravel Jetstream is an improved application scaffolding which replaces the legacy authentication UI of Laravel and which includes login, registration, email verification, two-factor authentication, session management, API support via Laravel Sanctum, and optional team management for Laravel.

Models Directory

Eloquent models now have a home inside the codebase of your application. You can find generated models inside ‘App/Models‘.

Migration Squashing

Laravel 8 introduced this feature to minimize the misleadings when having hundreds of migration files inside the codebase. Now you can create your migration files into one file by executing ‘php artisan schema:dump‘ and it will be created inside ‘database/schema‘.

Improved Maintenance Mode

In previous Laravel versions, we used ‘allow list‘ of IP addresses which define inside the application to bypass the maintenance mode. It was easy for the users who have static IPs but not for the users who have dynamic IPs. Laravel 8 introduced a new feature to bypass the maintenance mode using a ‘secret key‘.

Enable maintenance mode: ‘php artisan down –secret=”YOUR_SECRET”
Bypass maintenance mode: ‘https://YOUR_DOMAIN/YOUR_SECRET

Dynamic Blade Components

Laravel introduced this feature to render a blade component dynamically at runtime.

Syntax: <x-dynamic-component :component=”$componentName” class=”mt-4″ />

Visit Laravel 8 features to find out more about the above-mentioned features and other features of Laravel 8.x.