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

Doctrine Paginator Decorator Laravel Package

cethyworks/doctrine-paginator-decorator

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Pagination UX improvements: Enables cleaner, more intuitive pagination logic for Doctrine-based APIs (e.g., admin panels, dashboards, or public-facing listings).
  • Roadmap for API consistency: Standardizes pagination responses across Laravel services, reducing edge cases in frontend integration.
  • Build vs. buy: Avoids reinventing pagination helpers, leveraging a lightweight decorator pattern for Doctrine’s native Paginator.
  • Use cases:
    • Admin interfaces (e.g., user/role management with per-page limits).
    • Public APIs with client-driven pagination (e.g., ?page=2&limit=20).
    • Legacy system migrations where Doctrine is already in use.

When to Consider This Package

  • Adopt if:
    • Your Laravel app uses Doctrine ORM (not Eloquent) for core data access.
    • You need basic pagination helpers (e.g., hasNextPage(), getCount()) without heavy dependencies.
    • Your team prefers decorator patterns over custom query logic for pagination.
  • Look elsewhere if:
    • You’re using Eloquent (use cursor() or simplePaginate() instead).
    • You need advanced features (e.g., windowed pagination, cursor-based pagination).
    • The package’s 2017 release date conflicts with your maintenance policies (consider forks or alternatives like knplabs/doctrine-behaviors).
    • You require active community support (0 stars, archived repo).

How to Pitch It (Stakeholders)

For Executives: "This package lets us standardize pagination across Doctrine-based services with minimal effort—no new dependencies, just a lightweight wrapper. It’s a quick win for admin tools and APIs, reducing frontend workarounds and improving performance by offloading pagination logic to the backend. Low risk, high ROI for consistency."

For Engineering: "If we’re already using Doctrine ORM, this decorator gives us reusable pagination methods (hasNextPage(), getCount()) without bloating our codebase. Tradeoff: It’s unmaintained (last release 2017), so we’d need to vet it for compatibility with our Doctrine version. Alternative: Fork it or use a more active package like knplabs/doctrine-behaviors for pagination traits."

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.
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk