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

Primevue Datatables Laravel Package

savannabits/primevue-datatables

Laravel package for building PrimeVue DataTables with server-side processing. It pairs Eloquent queries with sortable, searchable, paginated tables, so you can ship responsive admin interfaces with minimal configuration and reusable backend logic.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for admin-grid plumbing. Every Laravel + PrimeVue back-office screen otherwise reinvents the same loop: parse PrimeVue’s lazy-load request (page, per_page, sortField, sortOrder, filters), build an Eloquent query, return a paginated payload, and whitelist columns. This package collapses that into a dependency plus a controller and a column mapping. The decision to make explicit is whether engineering weeks go into undifferentiated grid plumbing or into user-facing capability.
  • Roadmap sequencing around framework upgrades. v1.5.0 shipped Laravel 10 support in July 2023 — that is the adoption gate, not a support matrix. There have been no releases since, and the project has zero dependent packages. Treat this as a Laravel 10-era accelerator: if the roadmap reaches Laravel 11/12 within the tool’s expected lifespan, budget a named owner plus a fork-or-replace contingency now, not mid-upgrade.
  • Scope of search and filter UX. The v1.5.0 case-insensitive filtering on JSON columns changes what you can promise. “Users can search nested metadata/settings fields in the list view” moves from a custom query project to a small implementation task. That can unlock exposing JSON-backed fields that would otherwise be hidden or flattened into columns — a genuine product-visible improvement at low cost.
  • Honest pricing of the “table features” epic. The package covers server-side pagination, sorting, and filtering over Eloquent. It does not cover exports, saved views, saved filters, column-level or row-level permissions, complex joins, or aggregations. Its boundary is exactly where new tickets begin — use it to size that epic truthfully before committing to a date.
  • Dependency risk as a portfolio decision. 32 stars, zero dependents, two first-time contributors on the latest release, and a stalled cadence since mid-2023. For an internal tool, that is an acceptable trade; for a long-lived or customer-facing surface, it is not. The PM decision is which bucket the surface is in — and writing that down rather than leaving it implicit.
  • Use cases worth evaluating first: back-office admin panels, CRM-style record browsers, reporting tables over Eloquent models, and prototypes where PrimeVue is already the component library and the data surface is read-mostly and internal.

When to Consider This Package

Consider it when:

  • The frontend is already PrimeVue DataTable in lazy/server-side mode. The package’s entire value is speaking that specific request/response contract; there is no partial benefit outside it.
  • The backend is Laravel/Eloquent and the need is server-side pagination, sorting, and filtering without reimplementing request parsing and query building.
  • You are on Laravel 10 — the newest verified target — and the product does not require a broader admin framework.
  • Requirements include case-insensitive filtering on JSON columns, which the v1.5.0 improvement removes from custom-query scope.
  • The surface is internal or low-risk, where a slow release cadence is tolerable and a fork is an absorbable outcome.
  • The team is small and time-constrained, and shipping an internal table this sprint matters more than dependency prestige.

Look elsewhere when:

  • You are not on PrimeVue. Evaluate a broader-ecosystem datatable package or a generic Laravel query-builder approach instead; adopting PrimeVue to justify this package is backwards.
  • Advanced table capabilities are roadmap requirements, not nice-to-haves — exports, saved views, saved filters, column/row-level permissions, complex joins or aggregations. Those justify a more mature package or in-house code from day one.
  • You are on Laravel 11 or newer, or will be within the tool’s lifespan. This is the sharpest edge: Laravel 10 support itself arrived late, so assume historical lag and verify the matrix before committing.
  • You require an SLA, enterprise support, or a large contributor base. This is a small-maintainer MIT project with a short changelog and no external production signal to lean on.
  • The datatable is customer-facing, high-scale, or differentiating. Case-insensitive JSON filters can bypass indexes; that cost would land on end users rather than internal staff.
  • You need semantic-versioning guarantees. Treat minor releases as potentially behavior-affecting and pin versions with regression tests around sort and filter behavior.

How to Pitch It (Stakeholders)

For executives: This is a small, focused open-source connector that lets our Laravel backend feed PrimeVue data tables without us building and maintaining that plumbing ourselves. It removes a recurring class of repetitive work from internal admin screens and, with the latest release, supports Laravel 10 and delivers usable case-insensitive search on JSON-formatted fields out of the box. The honest framing is tactical, low-cost, internal-only: it is maintained by a very small contributor community, has no dependent packages, and has had no releases since mid-2023. It is not a foundation for customer-facing or high-scale surfaces. Recommendation: adopt for back-office tooling with pinned versions and tests around table behavior, and fund a named owner plus a fork-or-replace contingency before our next major Laravel upgrade.

For engineering: Adopt it for PrimeVue-based admin grids to avoid reimplementing request parsing and Eloquent query building. Pin to v1.5.x, verify Laravel 10 compatibility in CI, and treat the JSON case-insensitive filter as a behavior change requiring regression tests and per-driver validation (MySQL, PostgreSQL, SQLite) — JSON filter semantics and index usage differ, so check query plans for full scans and add expression indexes where supported. Whitelist sortable and filterable columns explicitly rather than trusting user-controlled request input, and keep authorization, tenant scoping, and row-level policies in host-application query scopes — the package builds queries but does not enforce policy, and any assumption otherwise is a security defect waiting to happen. Keep usage behind a thin internal abstraction so swapping it out stays a contained change, and pilot one low-risk, read-only table before broadening rollout.

For the wider organisation: Frame the outcome as speed on internal tooling, not a platform bet. We gain a head start on back-office screens; we accept a small-maintainer dependency in exchange for pinning it, testing it, and owning an exit. One line to carry into planning: use it to move fast on internal grids, never as the reason a grid ships to customers.

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.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings