JVMartin / laravel5-foundation6-pagination by JVMartin

Foundation for Sites 6 pagination for Laravel 5.
137
0
1
Package Data
Maintainer Username: JVMartin
Package Create Date: 2016-08-04
Package Last Update: 2016-08-05
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2021-06-21 15:27:06
Package Statistics
Total Downloads: 137
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Foundation for Sites 6 Pagination for Laravel 5.2

Copyright © 2016 Jacob Martin

Software License

Creates pagination links to comply with Foundation for Sites 6.

Installation

Add to composer.json:

"jvmartin/laravel5-foundation6-pagination": "5.2.*"

This package comes with a service provider which should be added to the providers array in your config/app.php file:

'Foundation\FoundationServiceProvider',

Add the facade:

'Foundation' => 'Foundation\Facades\Foundation',

Usage

<div class="pagination-centered">
    {!! $users->render(Foundation::paginate($users)) !!}
</div>

Credits

Based on dansmith/laravel5-foundation.