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 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 - SHA1 encryption instead of BCrypt

Laravel 5 - SHA1 encryption instead of BCrypt

Recently I have migrated core PHP application to the Laravel5 framework. The old application used SHA1 encryption so I have...

Laravel - 4 years ago

Laravel 5 - Prevent Browser back button after Logout

Laravel 5 - Prevent Browser back button after Logout

In this post, I would like to share a simple Laravel5 Middleware which prevents going back to the previous protected...

Laravel - 4 years ago

Laravel5 Inactivity idle session logout

Laravel5 Inactivity idle session logout

In this post, I would like to show how to automatically log out the user after some period of inactivity....

Laravel - 4 years ago

How to redirect requests to HTTPS in Laravel 5

How to redirect requests to HTTPS in Laravel 5

I know we can achieve same with other methods but I am going do it with the Laravel's Middleware. So...

Laravel - 4 years ago

How to install Laravel 5

How to install Laravel 5

In this post, I am going to share Laravel installation steps. We Can install Laravel by using composer and Laravel...

Laravel - 4 years ago

Login Throttling in Laravel 5.1

Login Throttling in Laravel 5.1

  Login Throttling is also called rate limiting which is very useful to increase the security of the application by...

Laravel - 5 years ago