All Laravel 8/7/6 Tutorials

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 Authentication Tutorial

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

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