https://github.com/stydenet/blade-pagination-tests
Integration tests for the Blade Pagination package
https://github.com/stydenet/blade-pagination-tests
Last synced: about 2 months ago
JSON representation
Integration tests for the Blade Pagination package
- Host: GitHub
- URL: https://github.com/stydenet/blade-pagination-tests
- Owner: StydeNet
- Created: 2015-06-21T15:32:21.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-02T02:25:49.000Z (over 10 years ago)
- Last Synced: 2025-10-04T03:00:29.644Z (7 months ago)
- Language: PHP
- Size: 150 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Blade Pagination tests
This is a Laravel 5.1 project, install it as you normally would:
1. Clone or download
2. Run `composer install` inside the project's folder
3. Create an empty database.sqlite file inside the storage directory
4. Create an empty database.tests.sqlite file inside the storage directory
5. Run `php artisan migrate --seed` inside the project's folder
6. Configure a virtual host for the project (for example laravel.pagination), remember to point to the public/ directory
7. Run http://laravel.pagination/users/bootstrap in the web browser
8. You should see an example of the package working and the pagination with the Bootstrap theme
9. Run http://laravel.pagination/users/foundation in the web browser
10. Now you will see an example but with the Foundation theme
11. Run http://laravel.pagination/users/materialize in the web browser, this is the materialize theme
12. For more documentation go the package's repository: https://github.com/StydeNet/blade-pagination
13. If you are curious, check `app/Http/routes.php` to check this example's code
14. You can also run `phpunit` of course and check the test in tests/PaginationTest.php