Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Knp Components Laravel Package

knplabs/knp-components

Knp Components is a PHP component library from KnpLabs. It currently includes the Pager component for building flexible, “fancy” pagination and paging adapters. PHPUnit 10/11 supported; install with Composer and run the test suite via composer test.

View on GitHub
Deep Wiki
Context7
v5.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/KnpLabs/knp-components/compare/v5.0.0...v5.1.0

v5.0.0

Notice

This is a major release, since a BC was introduced: the DBALQueryBuilderSubscriber now requires an instance of DBAL connection to be injected, otherwise it was impossible to make it work with DBAL version 4. Consequently, the BeforeEvent now accepts a third optional parameter: the connection mentioned above. If you don't pass the connection, the DBAL pagination won't be enabled. If you use this library with Symfony (so, with the KnpPaginatorBundle), everything will be done for you.

What's Changed

Full Changelog: https://github.com/KnpLabs/knp-components/compare/v4.4.0...v5.0.0

v4.4.0

What's Changed

New Contributors

Full Changelog: https://github.com/KnpLabs/knp-components/compare/v4.3.1...v4.4.0

v4.3.1
v4.1.0

What's Changed

Full Changelog: https://github.com/KnpLabs/knp-components/compare/v4.0.1...v4.1.0

v4.0.0

Paginator constructor now accepts as second argument an instance of ArgumentAccessInterface, instead of a RequestStack. So you can now paginate outside the web context

v3.5.0
  • add compatibility with symfony/event-dispatcher-contracts version 3
  • remove support for PHP 7.3
v3.4.0
  • add compatibility with PHP 8.1
  • add compatibility with Symfony 6
v3.3.0

Add compatibility with Symfony 6

v3.2.0

This release add compatibility with doctrine/dbal 3 and drop compatibility with doctrine/dbal < 2.10

v3.1.0
  • fixed ORM where with numeric values on string fields
  • added option to allow ODM subscriber
  • added static analysis with phpstan
  • dropped support for old Symfony versions
v3.0.0
  • dropped support for Symfony 3
  • dropped support for PHP 7.2
  • fixed deprecation in Symfony 5
  • removed deprecated features
v2.5.0
  • deprecated not passing EventDispathcer to Paginator constructor
  • added getMaxPageNumber to PageNumberOutOfRangeException
v2.4.0
  • fixed error with older Symfony versions
  • added new option to handle out of range page numbers
  • deprecated sortFieldWhitelist and filterFieldWhitelist options (use sortFieldAllowList and filterFieldAllowList instead)
v2.3.0
  • allowed Symfony 5 components
  • fixed bug in MongoDb query
  • added coding standard via php-cs-fixer
v2.1.0
  • added new callback pagination
  • fixed sorting when using class properties
  • made some requirements explicit
  • removed some unused code
  • allowed for null Request object passed in, to avoid edge cases
  • switched from PSR-0 to PSR-4
v2.0.0
  • increased php minimum version
  • add support form mongodb-odm version 2 (and remove support for version 1)
  • added getters to PaginationInterface
  • removed DBALQueryBuilderSubscriber
  • removed deprecations for Symfony event system
  • changed signature of ArraySubscriber (and, in general, many signatures that got type hinting)
v1.3.10

Fixes

  • Be able to sort on NULL relation with PropertyAccessor #207 (@nicolasmure)
v1.3.9
1.3.8
1.3.7

See #176

1.3.6
  • Fix some crashes in the test suite under PHP7 (#175)
  • Move Iterable interface to PaginationInterface (#176)
  • Replace common magic strings with constants (#177)
  • Fix Elastica & Solarium sorting (#192)

Thanks you @ostrolucky @garak @felds

1.3.4
1.3.3
1.3.2
1.3.1
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
bugban/symfony
beyonder-capi/workflow-extensions-bundle
beyonder-capi/job-queue-bundle
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin