Laravel

I’m currently working on┬áLaravel 5.1 websites and need some modification to laravel pagination. So in this post we will create laravel 5.1 pretty pagination URL. This steps will produce http://yourdomain.com/section/page/2 pretty pagination url Add Paginator to your Controller.php

Include your paginator view template to your main.blade.php view

Next is to create pagination.blade.php view…

Read More Laravel 5.1 Pretty Pagination URL

Have you ever faced “Out of memory” issue when running some large queries in Laravel?

By default, laravel will keep log all queries in memory, and at some points it can cause your app to use excess memory. Try adding lines below in your controller to solve this issue.

Or

It will…

Read More Out of memory when running large queries in Laravel