Laravel 5.6 Socialite Facebook Login

In this tutorial, we’re going to explain how to integrate Facebook login in Laravel based application using Socialite. The Socialite is Laravel’s official package, which is making is easy to authenticate with external […]

How to get last inserted id in Laravel

In this post, I would like to show the different ways to get last inserted ID from the database table when working with Laravel PHP Framework. In the core PHP, we will get last inserted ID with mysqli_insert_id() or PDO::lastInsertId() […]

Laravel create a json file and append content to it.

In this post, I would like to show you creating a JSON file and appending content to it whenever somebody submits a form. For this tutorial, I am gonna use Laravel 5.6 version. Let’s create a brand new Laravel project […]

Laravel 5.6 – REST API – JWT Authentication

In my last tutorial, we created an APIs for todo application without authentication. In this tutorial, I would like to show you building JWT based login system. Let’s start… Create Project Create a brand new […]

Laravel 5.6 ReactJS Tutorial

In this post, I would like to show you Laravel 5.6 project setup with React JS as frontend framework. In Laravel 5.5, Taylor Otwell introduced new frontend scaffolding via a new artisan preset command. We gonna leavrage […]

Laravel 5.6 – New @method and @csrf Blade Directives

Laravel is gonna introduce two new Blade Directives as part of 5.6 release, @method and @csrf Directives. In the current Laravel 5.5 version, we are doing the following at the top of forms to create hidden inputs for the […] Protection Status