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 manually. In this tutorial, I’ll use Laravel5 LengthAwarePaginator class to show you how you can create […]

Remove specific value from array using php?

This post shows the possible ways to remove specific element from array based on value of the element. Removing specific value Using array_diff() Using this method we can remove one or more elements where using other methods […]

How to generate excel from array using PHPExcel

This tutorial will describe usage of PHPExcel library to generate an Excel file from PHP array. Usage of PHPExcel library is very simple and easy. Just follow the below steps. 1. First thing first – Download PHPExcel […]

Logging an Array in Laravel5

In this post I am going show logging arrays and viewing logged items in the terminal in a very generic way. For this tutorial purpose we are suing laravel 5 and you can use these techniques with any framework. Logging […]

DMCA.com Protection Status