Laravel 5  Pagination with array

Laravel 5 Pagination with array

Laravel provides pagination for Eloquent results out of the box, but for custom data, we need to do the pagination...

Laravel - 4 years ago

Coming up in laravel 5.3

Coming up in laravel 5.3

Laravel5.3 is coming with following new features, 1. Rollback one migration 2. Blade Foreach Loops (new $loop variable) 3. Eloquent...

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

How to Run Gulp Tasks in Laravel with Elixir

How to Run Gulp Tasks in Laravel with Elixir

This tutorial describes how to use laravel's elixir to run Gulp tasks. Gulp is a javascript task runner, it keeps...

Laravel - 4 years ago

Multiple Route files in Laravel 5

Multiple Route files in Laravel 5

For small-scale applications single route file is sufficient but large-scale applications its cumbersome to maintain and organize the routes. The...

Laravel - 4 years ago

Laravel Eloquent - make a copy of a row

Laravel Eloquent - make a copy of a row

Today I would like to write about one of the little-known features of laravel eloquent called "replicate". To copy everything...

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

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

How to add custom class in Laravel 5

How to add custom class in Laravel 5

In this tutorial, I will show you how to add a custom PHP class in Laravel 5.x application. For example,...

Laravel - 4 years ago