Download the PHP package juizmill/silex-pagination without Composer
On this page you can find all versions of the php package juizmill/silex-pagination. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download juizmill/silex-pagination
More information about juizmill/silex-pagination
Files in juizmill/silex-pagination
Download juizmill/silex-pagination
More information about juizmill/silex-pagination
Files in juizmill/silex-pagination
Vendor juizmill
Package silex-pagination
Short Description PaginationServiceProvider for Silex micro framework
License MIT
Package silex-pagination
Short Description PaginationServiceProvider for Silex micro framework
License MIT
Please rate this library. Is it a good library?
Informations about the package silex-pagination
SilexPagination
A simple pagination provider for Silex
Requirements
- PHP >= 5.3.3
Usage
More information available here
Options
'pagination.per_page'
- Items per page (20 by default)'pagination.neighbours'
- Number of neighboring pages at the left and the right sides (4 by default)
How to use it in the my "views"?
See example for more information.
Traits
\Kilte\Silex\Pagination\PaginationTrait
adds the following shortcut:
object pagination(int $total[, int $current[, int $perPage[, int $neighbours = 4]]])
- is alias for $app['pagination']()
Tests
Changelog
1.1.1 [31.08.14]
- Added unit tests
- Other small improvements
1.1.0 [29.06.2014]
- Updated pagination to 1.1.0
1.0.1 [26.02.2014]
- Moved pagination service to another library
1.0.0 [31.12.2013]
- First release
Contributing
- Fork it
- Create your feature branch (git checkout -b awesome-feature)
- Make your changes
- Write/update tests, if necessary
- Update README.md, if necessary
- Push your branch to origin (git push origin awesome-feature)
- Send pull request
- ???
- PROFIT!!!
Do not forget merge upstream changes:
git remote add upstream https://github.com/Kilte/silex-pagination
git checkout master
git pull upstream
git push origin master
Now you can to remove your branch:
git branch -d awesome-feature
git push origin :awesome-feature
LICENSE
The MIT License (MIT)
All versions of silex-pagination with dependencies
PHP Build Version
Package Version
The package juizmill/silex-pagination contains the following files
Loading the files please wait ....