Skip to content

Instantly share code, notes, and snippets.

View eleazarbr's full-sized avatar

Eleazar Resendez eleazarbr

View GitHub Profile
@simonhamp
simonhamp / AppServiceProvider.php
Last active November 1, 2024 18:28
A pageable Collection implementation for Laravel
<?php
namespace App\Providers;
use Illuminate\Support\Collection;
use Illuminate\Pagination\LengthAwarePaginator;
class AppServiceProvider extends ServiceProvider
{
public function boot()