Laravel 6 Tutorials and Examples

Laravel 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 and Ajax

15 Jan 2020

Read article

Laravel 6 Tutorial: Build your First CRUD App with Laravel, Bootstrap 4 and MySQL

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

08 Jan 2020

Read article

Laravel 6 Auth Redirection Using redirectTo

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

08 Sep 2019

Read article

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

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

07 Sep 2019

Read article

Laravel 6 Model Events Tutorial

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

07 Sep 2019

Read article

Laravel 6 Database Migrations Tutorial: Add Admin Role to Users

In this tutorial, we'll learn about migrations in Laravel 6 including the Schema builder comprised of the Schema and Blueprint facades. Next, we'll continue building our CRM application by updating the users' table using migrations to add users with different roles (admin and user) in our app.

07 Sep 2019

Read article

Disable Laravel 6 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

07 Sep 2019

Read article

Laravel 6 Email Verification Tutorial

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

06 Sep 2019

Read article

Using Laravel 6 with Docker and Docker-Compose

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

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

Laravel 6 Auth Tutorial: Login/Register/Password Reset UI

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.

05 Sep 2019

Read article

Laravel 6 Tutorial & New Features - Build a CRM [PART 1]

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.

02 Sep 2019

Read article

Laravel 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.

02 Sep 2019

Read article