All Laravel 8/7/6 Tutorials

How to use new Dumpable Trait in Laravel 11

In summary, Laravel 11 introduces the Dumpable Trait as a potent tool for simplifying and enhancing the debugging process. By incorporating this trait into your models, you can elevate your Laravel development experience to new heights. Embrace the future of Laravel with version 11 and unlock the full potential of the Dumpable Trait for seamless debugging like never before.

17 Mar 2024

Read article

Creating Custom Validation Rules in Laravel 11

Laravel 11's strong validation mechanism, which imposes restrictions on submitted form data, makes ensuring data integrity easier. Although many typical circumstances are covered by the built-in rules, there are some situations that call for custom validation rules. This tutorial explains how to create custom validation rules in Laravel 11, enabling developers to adjust validation to the specific requirements of their application.

17 Mar 2024

Read article

How to Create Custom Middleware in Laravel 11

Laravel 11 introduces invokable controllers, offering a focused approach to handling specific actions within your application. This guide explores how to create and utilize these controllers, emphasizing their advantages and presenting a practical example.

17 Mar 2024

Read article

How to Create Custom Middleware in Laravel 11

Enhancing Laravel Applications with Custom Middleware: A Comprehensive Tutorial

17 Mar 2024

Read article

How to Install Laravel 11 Application

Guide to Installing Laravel 11.x-dev Application

04 Feb 2024

Read article

How to Create Routes in Laravel 10

Creating Routes in Laravel 10

31 Jan 2024

Read article

How to Generate App Key in Laravel 11?

How to Generate App Key in Laravel 11?

30 Jan 2024

Read article

How to Add Bootstrap 5 to Laravel 11

How to Add Bootstrap 5 to Laravel 11

30 Jan 2024

Read article

Build an app with Laravel 11 and MySQL

Build an app with Laravel 11 and MySQL

30 Jan 2024

Read article

Livewire 3 refresh component

Livewire 3 refresh component

29 Jan 2024

Read article

Building a RESTful API CRUD Application with Laravel 11

Building a RESTful API CRUD Application with Laravel 11

29 Jan 2024

Read article

Should I use Livewire in Laravel?

Should I use Livewire in Laravel?

29 Jan 2024

Read article

Laravel 11 new features & release date

Laravel 11 new features & release date

27 Jan 2024

Read article

Laravel 10 CRUD Tutorial

Laravel 10 CRUD Tutorial

27 Jan 2024

Read article

Laravel 10 CORS Explained in Detail

Laravel 10 CORS

27 Jan 2024

Read article

Laravel 10 Application with Bootstrap Auth Scaffolding

To create a Laravel 10 application with Bootstrap Auth scaffolding, follow these comprehensive steps

10 Oct 2023

Read article

Build REST API with Laravel 9

In this post, we'll show you how to build a REST API with laravel 9. Laravel 9 is a full-stack web application framework with a robust and visually appealing design that is easy to use to create tradiotional web applications and modern web applications that expose REST APIs that could be consumed by front-end applications such as Angular, React or Vue.js.

29 Apr 2022

Read article

How to install laravel 9

In this post, we'll show you how to install laravel 9. Laravel is a full-stack web application framework that has powerful, beautiful design. A web framework gives a foundation and initial ground for developing your application, enabling you to concentrate on building something incredible while it handles the low-level technicalities.

29 Apr 2022

Read article

Laravel 8 Job Batch by Example

In Laravel 8, we have a new batch method that allows developers to dispatch multiple jobs in the same time. Let's see the batch() method using a quick example

27 Oct 2020

Read article

Laravel 8 Authentication Tutorial by Example

In this tutorial, we'll see step by step how to implement authentication in your Laravel 8 application

27 Oct 2020

Read article

Laravel 8 REST API CRUD Tutorial by Example App with Bootstrap 4 and MySQL

Throughout this tutorial for beginners you'll learn to use Laravel 8 - the latest version of one of the most popular PHP frameworks - to create a CRUD web application with a MySQL database from scratch starting with the installation of Composer (PHP package manager) to implementing and serving your application.

21 Sep 2020

Read article

Install Laravel 8 with PHP 7.3 & Composer

In this post, we'll see how to install Laravel 8 and create a new project but also how to install PHP 7.3 the minimal required version for installing Laravel 8 in our development machine

21 Sep 2020

Read article

Laravel 8 Auth Redirection Using redirectTo

In this tutorial, we'll learn how to customize the auth system in our Laravel 8 CRM app to redirect users after they register or login to a different route depending on their role

20 Sep 2020

Read article

Laravel 8 Schema Dump Command: squashing & Cleaning Migrations

How to squash and clean migrations using the Laravel 8 schema dump command

20 Sep 2020

Read article

Laravel 8 CORS Tutorial and Example

Learn how to enable cors in Laravel 8

20 Sep 2020

Read article

Laravel 8 Auto-Prefixed Controller Routing: Target class does not exist

How to fix Laravel 8 not able to find your controller with a Target class does not exist error

20 Sep 2020

Read article

Laravel 8 Ajax CRUD Tutorial with Bootstrap 4 Modal and Pagination Example

In this tutorial, you will learn to build a CRUD example with Laravel 8 and Ajax

20 Sep 2020

Read article

Using Laravel 8 with Docker and Docker-Compose

In this tutorial we'll learn how we can use Docker/Docker-compose to develop and run Laravel 8 applications locally

20 Sep 2020

Read article

Disable Laravel 8 Registration & Dynamic Routes

In this tutorial, we'll see how we can disable and remove the register route and view from the authentication system of our application if there is at least one admin user in our database. We'll achieve that by dynamically adding the register route to the routes/web.php file after querying the database to check for the absence of users with the admin role

20 Sep 2020

Read article

Using Bootstrap 4 Instead of Tailwind in Laravel 8 with Laravel/UI v3 Package

In this article, we'll see how to install Bootstrap 4 with Laravel 8 using the laravel/ui v3 scaffolding package and also how to use Bootstrap for the pagination views instead of the default Tailwind CSS

16 Sep 2020

Read article

Laravel 8 Auth Scaffolding Example with Jetstream Inertia.js and Livewire Stacks

In this article, you'll learn how to use the new Jetstream package in Laravel 8 for auth scaffolding

16 Sep 2020

Read article

Laravel 8 Drag and Drop File/Image Upload UI Using Dropzone.js Example with Progress Bars and Image Previews

Throughout this tutorial, we'll show you by example how to use Dropzone.js in Laravel 8 to drag, drop and upload a file

15 Sep 2020

Read article

Laravel 8 CRUD Tutorial by Example

Throughout this tutorial, we'll be learning how to create a CRUD app with Laravel 8 to create, insert, update and delete products from a MySQL database

12 Sep 2020

Read article

Laravel 8 Model Events Tutorial

In this tutorial, we'll learn about Model events in Laravel 8 for using them in our CRM application to update the role of the user to an admin before saving it to the database.

11 Sep 2020

Read article

Laravel 8 REST API Authentication with JWT Tutorial by Example

Throughout this tutorial, we’ll be learning how to authenticate REST APIs using JWT in the latest Laravel 8 version. You will learn how to create a REST API using Laravel 8 with JWT authentication

10 Sep 2020

Read article

Laravel 7/6 Ajax CRUD Tutorial with Bootstrap 4 Modal and Pagination Example

In this tutorial, you will learn to build a CRUD example with Laravel 6/7 and Ajax

09 Mar 2020

Read article

Laravel 7/6 Auth Tutorial: Login/Register/Password Reset Example

In the previous tutorial, we've introduced Laravel and seen the new features of the latest Laravel 6 version. In this tutorial, we'll see how to add authentication with login, registration, logout and password reset example

09 Mar 2020

Read article

PHP Laravel 7/6 Tutorial: CRUD Example App with Bootstrap 4 and MySQL Database

Throughout this tutorial for beginners you'll learn to use Laravel 7/6 - the latest version of one of the most popular PHP frameworks - to create a CRUD web application with a MySQL database from scratch starting with the installation of Composer (PHP package manager) to implementing and serving your application.

09 Mar 2020

Read article

Laravel 7/6 Database Migrations Tutorial with Admin Roles Example

In this tutorial, we'll learn about migrations in Laravel 7/6 including the Schema builder comprised of the Schema and Blueprint facades

04 Mar 2020

Read article

Laravel 7/6 Email Verification Tutorial and Example

In this tutorial, we'll see how to add email verification to our Laravel 6 application using the MustEmailVerify contract

04 Mar 2020

Read article

Laravel 7/6 REST API CRUD Tutorial - Build a CRM [PART 2]: Eloquent Models and Relationships

Laravel 6 is recently released with many enhancements so we'll be learning, throughout this tutorial how to create an example CRUD application from scratch. The application we'll be building is a simple CRM with a MySQL database.

04 Mar 2020

Read article

Laravel 6/7 Tutorial & New Features - Creating and Migrating a MySQL Database

Laravel 7 is recently released with many enhancements so we'll be learning, throughout this tutorial how to create an example CRUD application from scratch. The application we'll be building is a simple CRM with a MySQL database

04 Mar 2020

Read article

Laravel 7/6 CORS Tutorial and Example

Learn how to enable cors in Laravel 7/6

01 Feb 2020

Read article

How to Install Vue.JS in Laravel 7/6 By Example

Learn how to Install Vue.JS in Laravel 6/7 By Example

01 Feb 2020

Read article

How to Install Laravel 7 On Ubuntu, Windows and macOS

Learn how to install Laravel 7

01 Feb 2020

Read article

How to Install Bootstrap 4 in Laravel 7/6 Tutorial and Example

Learn how to Install Bootstrap 4 in Laravel 7/6 By Example

01 Feb 2020

Read article

Laravel UI Scaffolding Tutorial: make:auth removed in Laravel 6/7

In this tutorial, we'll learn about the new laravel/ui package for UI scaffolding

07 Sep 2019

Read article

Semantic Versioning/Semver for Laravel 6 Devs: Why there is a caret (^) in your composer.json

You have heard that Laravel 6 has moved to semantic versioning (also called semver) but you are wondering what is that and does it impact how you work with your Laravel projects? Let's see in more details what is semantic versioning.

06 Sep 2019

Read article

Upgrade to Laravel 6 from Laravel 5.8

Laravel 6 is finally released. It's the new LTS version of Laravel instead of Laravel 5.5. If you have created your project with Laravel 5.8 or you have an existing project that was already upgraded to v5.8, these are the changes that you need to perform to upgrade it to the latest Laravel 6 version.

05 Sep 2019

Read article

Handling/Disabling CSRF in Laravel 5.8 when Using JavaScript/Ajax

In this article we'll see how you can handle CSRF token in Laravel applications using a JavaScript/Ajax front-end and then how to disable CSRF checking for specific routes.

01 Jan 2018

Read article