zk2 / sps-bundle
Bundle implements the concept of "Search - Pagination - Sort" for tabular data
Installs: 1 030
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 1
Type:symfony-bundle
Requires
- php: >=7.1
- sensio/framework-extra-bundle: ^5
- symfony/config: ^5
- symfony/dependency-injection: ^5
- symfony/form: ^5
- symfony/http-kernel: ^5
- symfony/templating: ^5
- symfony/translation: ^5
- symfony/validator: ^5
- zk2/sps-component: ^1.4
Requires (Dev)
- phpunit/phpunit: ^8.5
- symfony/var-dumper: ^5
This package is auto-updated.
Last update: 2024-11-30 01:56:20 UTC
README
Bundle for Symfony2 Standard Edition, designed to facilitate the work with large sets of table data. SPS is an acronym for Search, Pagination, Sort, that is the bundle can apply filters, ensure pagination, sort data.
Bundle is implemented as a service that get Doctrine\DBAL\Query\QueryBuilder or Doctrine\ORM\QueryBuilder and return form of filters and array with data for use in your view layer.
Demo
Documentation
Running the Tests
Install the Composer dev
dependencies:
php composer.phar install --dev
Then, run the test suite using PHPUnit:
phpunit
License
This bundle is released under the MIT license. See the complete license in the bundle:
Resources/meta/LICENSE