This is a Laravel 5.1 project, install it as you normally would:
- Clone or download
- Run
composer install
inside the project's folder - Create an empty database.sqlite file inside the storage directory
- Create an empty database.tests.sqlite file inside the storage directory
- Run
php artisan migrate --seed
inside the project's folder - Configure a virtual host for the project (for example laravel.pagination), remember to point to the public/ directory
- Run http://laravel.pagination/users/bootstrap in the web browser
- You should see an example of the package working and the pagination with the Bootstrap theme
- Run http://laravel.pagination/users/foundation in the web browser
- Now you will see an example but with the Foundation theme
- Run http://laravel.pagination/users/materialize in the web browser, this is the materialize theme
- For more documentation go the package's repository: https://github.com/StydeNet/blade-pagination
- If you are curious, check
app/Http/routes.php
to check this example's code - You can also run
phpunit
of course and check the test in tests/PaginationTest.php