Weave 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
Kit Paginator Bundle

Kit Paginator Bundle Laravel Package

kitlabs/kit-paginator-bundle

A Laravel pagination bundle from KitLabs offering simple pagination helpers for Blade views and APIs, with customizable page links and metadata. Adoption is minimal and documentation may be limited, so evaluate fit carefully before use.

View on GitHub
Deep Wiki
Context7

Support Native Sql Query for KnpPaginatorBundle

Frequently asked questions about Kit Paginator Bundle
Is kitlabs/kit-paginator-bundle a Laravel package?
No. Despite being described in some listings as a Laravel pagination bundle, kitlabs/kit-paginator-bundle is a Symfony bundle. It extends knplabs/knp-paginator-bundle and depends on Symfony HttpFoundation, EventDispatcher, DependencyInjection, Doctrine ORM/DBAL, and KnpPaginator. Those dependencies do not exist in a stock Laravel application.
Can I use kitlabs/kit-paginator-bundle in a Laravel application?
Not without writing a shim over Symfony's container and event system, which would cost more than the capability is worth. Laravel already provides DB::table(...)->paginate(), simplePaginate(), and cursorPaginate() over raw query builders, plus LengthAwarePaginator for manual result sets. Those integrate directly with Blade, API resources, and JSON serialization. The architectural fit for Laravel is effectively zero.
What does kitlabs/kit-paginator-bundle actually do?
It is a thin adapter that lets KnpPaginator consume hand-written native SQL in addition to DQL, QueryBuilder, and ORM collections. It calculates page counts, offsets, and navigation metadata for large result sets. The value is narrow and only plausible if KnpPaginator is already the standard in a Symfony codebase.
How do I install and configure kitlabs/kit-paginator-bundle?
Install it with Composer, register the bundle in your Symfony bundles.php, then wire its native-query adapter into knp_paginator. Doctrine DBAL must be available, and you need a KnpPaginator version the bundle actually targets. Those version constraints are not documented to a reliable standard, so verify composer.json before committing.
Does kitlabs/kit-paginator-bundle support Laravel 10, Laravel 11, or specific Symfony versions?
No reliable support matrix is published for Laravel, Symfony, Doctrine DBAL, or PHP versions. The package has no documented CI proving a version matrix. Treat any compatibility claim as unverified until you inspect composer.json and test it yourself.
What are the best alternatives to kitlabs/kit-paginator-bundle in Laravel?
Use Laravel's native pagination: DB::table(...)->paginate() for query-builder results, cursorPaginate() for large or unstable datasets, simplePaginate() when you do not need a total count, and LengthAwarePaginator for manually built arrays. Paginator::resolveCurrentPage() handles the current-page input. These are framework-native, well tested, and view-aware.
What are the alternatives to kitlabs/kit-paginator-bundle for Symfony native SQL pagination?
Pagerfanta with a DBAL adapter is the cleaner single-dependency option and is actively maintained. Using KnpPaginator directly, without this adapter, is another route if your queries can be expressed as DQL or QueryBuilder. Adopting this bundle only makes sense when KnpPaginator is already your house standard.
Is kitlabs/kit-paginator-bundle production-ready and actively maintained?
The signals are weak: 1 star, 0 dependents, and a composite score around 0.005, which reads as single-author with no evidence of production use. There is no stated release cadence, no security review, and unknown test coverage. The MIT license is the one clean signal, and it permits forking if you decide to take on that risk.
How does kitlabs/kit-paginator-bundle handle COUNT queries, parameter binding, and SQL injection risk?
This is not documented, and it matters because native SQL pagination is where off-by-one counts and injection bugs hide. You need a correct and cheap COUNT(*), safe parameter binding, a stable ORDER BY for deterministic pages, and platform-appropriate LIMIT/OFFSET. A derived COUNT(*) over a complex native query can cost more than the data query itself, so review the implementation before trusting it.
Should I adopt kitlabs/kit-paginator-bundle or migrate away from it?
In Laravel, there is nothing to migrate to: refactor any hand-rolled LIMIT/OFFSET code to the query builder's paginate() and remove the dependency. In Symfony, register the bundle and convert call sites one at a time behind a feature branch, or choose Pagerfanta instead. Given minimal adoption and high technical risk, evaluate fit carefully and prefer native or actively maintained options unless KnpPaginator is already central to your stack.
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.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo