How to get last inserted id in Laravel

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

Laravel - 2 years ago

Laravel API Token Authentication

Laravel API Token Authentication

If you want to create a simple REST API, secured by web tokens for your mobile application or angular based...

Laravel - 3 years ago

Laravel Create Controller, Model and migration in one Artisan Command

Laravel Create Controller, Model and migration in one Artisan Command

Artisan is the command-line interface included with Laravel. It provides a number of helpful commands that can assist you while...

Laravel - 3 years ago

How to record last login time and IP address of a user In Laravel

How to record last login time and IP address of a user In Laravel

Recording last login information is useful and you can easily save and update the last login time and IP address...

Laravel - 3 years ago

How to get Client IP Address in Laravel 5

How to get Client IP Address in Laravel 5

Sometimes you need to track the IP address of the visitors for different reasons. In this tutorial, I would like...

Laravel - 3 years ago

Laravel 5 Role Based Access Control using Middlewares

Laravel 5 Role Based Access Control using Middlewares

In this post, I would like to show you very simple approach to develop a security layer around Laravel routes...

Laravel - 3 years ago

Custom Facade in Laravel?

Custom Facade in Laravel?

In Laravel world, a facade is a class that provides access to an object from the container. Laravel "facades" serve...

Laravel - 4 years ago

Laravel 5.2 - Implicit model binding

Laravel 5.2 - Implicit model binding

Laravel's route model binding has been around for a while, but Laravel 5.2 is about to make it even easier...

Laravel - 4 years ago