Skip to content

Instantly share code, notes, and snippets.

View douglashb's full-sized avatar

Douglas Huertas douglashb

  • Guatemala
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()