- Can I use granedirval/data-dog-pager-bundle in a Laravel application?
- No. It is a Symfony2 bundle that registers through the Symfony kernel and DI container and depends on Doctrine ORM's EntityManager rather than Eloquent. Laravel has no bundle lifecycle, so there is no supported way to install it as a dependency. Treat it as reference source only, not as a package you can require.
- How do I install granedirval/data-dog-pager-bundle with Composer?
- The Composer name is granedirval/data-dog-pager-bundle. On Symfony2 you would require it in composer.json and register the bundle class in AppKernel, which is the only supported wiring. On Laravel there is no correct installation path, and the PSR-0-era autoloading and Symfony2 service definitions conflict with modern Composer conventions.
- Which Laravel and PHP versions does this package support?
- None for Laravel. The package targets Symfony2, whose security support ended in 2019, and it exposes no service provider, facade, or Illuminate pagination integration. It cannot be assumed to run on PHP 7.4 or PHP 8.x. For Laravel pagination, use the framework's own paginate() method.
- Does this bundle work with Symfony 6 or Symfony 7?
- Not in any practical way. Symfony 6 and 7 changed bundle registration, service configuration, and minimum PHP versions, while this bundle is written against Symfony2 conventions. There is no evidence of compatibility with supported Symfony releases or PHP 8. If you are on supported Symfony, use babdev/pagerfanta-bundle or knplabs/knp-paginator-bundle instead.
- What is the Laravel equivalent of this bundle's configurable filters, sorters, and pagination?
- Laravel's native paginator plus explicit query guards covers most of it: use paginate() for results, when() for optional filters, and a validated allow-list before orderBy(). For a more declarative API, spatie/laravel-query-builder provides allow-listed filters, sorts, and includes with documentation and active maintenance. That combination is safer and better supported than porting a Symfony2 bundle.
- Is there a built-in Doctrine paginator I can use instead?
- Yes. Doctrine ORM ships Doctrine\ORM\Tools\Pagination\Paginator, which paginates DQL queries without any third-party bundle. This bundle almost certainly wraps that same class anyway. If you only need pagination over Doctrine queries, use the built-in Paginator and add your own filter and sort decoration on top.
- What are the security risks of request-driven filters and sorters?
- Filters and sorters read straight from request parameters are a classic injection surface: unvalidated column names in ORDER BY, unexpected filter operators, and unbounded filter combinations that can trigger expensive queries. The safe pattern is to resolve every user value against a hard allow-list of columns and directions before it reaches the query builder. This package shows no test-suite signal, so you cannot assume those cases were handled.
- Is granedirval/data-dog-pager-bundle actively maintained?
- There is no meaningful maintenance signal: zero stars, zero dependents, and a low-reputation namespace. Its target framework, Symfony2, has been end-of-life since 2019. Treat the package as abandoned unless you can verify otherwise, and do not add it to a production dependency graph without a security review.
- Does this package send alerts to Datadog?
- The package description identifies it as a Symfony2 and Doctrine ORM paginator bundle with customizable filters and sorters, despite a Datadog-adjacent name and a blurb about pager-style alerting. There is no evidence in the description of Datadog API integration, agent configuration, or alerting code. Verify the actual source before assuming any monitoring capability.
- What should I use for paginated listings with user-driven sorting and filtering?
- In Laravel, use the native paginator with allow-listed filters and sorts, or spatie/laravel-query-builder if you want a package. In supported Symfony, use babdev/pagerfanta-bundle or knplabs/knp-paginator-bundle. For framework-agnostic Doctrine code, use Doctrine\ORM\Tools\Pagination\Paginator. All of these are maintained alternatives to this bundle.