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

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.
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager