Laravel Fractal pagination with simplePaginate

Posted by Danny Herran on Mar 8, 2019 in Backend | No comments
Laravel Fractal

By default Fractal has native support for Laravel::paginate. Those using simplePaginate() have to resort to either using Fractal Cursors or build their own adapter. In this post, we are going to quickly build an adapter that fully supports Laravel::simplePaginate.