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

Laratables Laravel Package

freshbitsweb/laratables

freshbitsweb/laratables simplifies Laravel DataTables server-side processing with Eloquent support, relationship search, eager loading, sorting, and pagination, helping you build fast, interactive data tables with minimal code and less boilerplate.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for data grids. Laratables removes the recurring boilerplate of server-side DataTables: request parsing (draw, start, length, order, search), Eloquent/Query Builder filtering, related-model columns, computed columns, and the JSON envelope the client expects. For a team shipping several list screens, that is typically days of work per table converted into a handful of configuration methods — a clear "buy" (in time, not money) over hand-rolling.
  • Feature scoping for admin and back-office surfaces. It supports decisions like "can we ship customer lists, order queues, inventory, audit logs, and support-desk views this sprint?" If the answer depends on large datasets rendered without paging the whole table client-side, this package is the enabler.
  • Frontend stack commitment. Adopting it is implicitly a decision to keep DataTables.net (jQuery) as your table UI for those screens. That is a legitimate but consequential choice — it should be a deliberate one, weighed against Inertia/React/Vue or Livewire-based table components.
  • Roadmap sequencing for internal tooling. Because integration is cheap, it can underwrite a roadmap of "many modest admin screens" rather than "one big custom admin framework." It also sets a natural ceiling: if the roadmap moves toward saved views, column pinning, exports, or complex per-row authorization, this package stops being the whole answer.
  • Buy-alternative evaluation. It establishes a baseline against which Laravel admin suites (Nova, Filament, Backpack) or a bespoke table component can be compared on cost, flexibility, and lock-in.
  • Use cases: ops dashboards, CRM-style contact/company lists, transaction and payment logs, moderation queues, multi-tenant customer tables, and any internal screen where users expect instant search and sort over thousands of rows.

When to Consider This Package

Adopt when:

  • The backend is Laravel 5.5–11.x — verify your exact version against the support matrix before committing.
  • The UI already uses, or can accept, DataTables.net with server-side processing enabled.
  • Datasets are large enough that loading everything into the browser is impractical, and you need database-level search, sort, and pagination.
  • Screens need relationship columns (e.g., a user's company name) or computed/derived columns without hand-writing join logic per table.
  • The team is comfortable in PHP/Blade and wants the table logic to live beside the model rather than in a separate API layer.
  • You want a thin, ejectable abstraction: it shapes queries and serializes JSON, so replacing it later is contained.

Look elsewhere when:

  • The frontend is a SPA, Inertia, React/Vue, or Livewire — the jQuery DataTables dependency is the wrong fit, and a native component or Livewire table is cleaner.
  • You need capabilities DataTables doesn't natively provide — saved views, column pinning, rich filter builders, scheduled exports, or spreadsheet-style editing. A fuller admin framework is the better buy.
  • Per-row, per-tenant authorization is central and non-trivial; expect to layer policy checks yourself and validate the package doesn't get in the way.
  • You are outside Laravel, or your Laravel version falls outside the supported range.
  • Community size is a governance concern. ~485 stars and a narrow maintainer base mean you should check commit cadence, issue responsiveness, and whether a fork path exists. The recent release activity is a positive signal, but confirm it rather than assume.
  • You need vendor SLAs or commercial support — MIT and community-only means none.

How to Pitch It (Stakeholders)

For executives: This is a free, MIT-licensed Laravel package that lets us build searchable, sortable, paginated admin tables in a fraction of the time it takes to hand-write them. The cost is zero; the return is engineering days saved on every back-office screen — customer lists, order queues, logs — across the internal-tools roadmap. It is a productivity multiplier on internal surfaces, not a customer-facing product bet.

For engineering: Laratables is a thin adapter between Eloquent/Query Builder and the DataTables server-side protocol. It handles request parsing, filtering, sorting, pagination, relation columns, and the JSON response, so each table becomes configuration rather than plumbing. Because it's a small abstraction over queries you already control, the lock-in is low: if it stops fitting, you replace the response-shaping layer and keep the models. Our guardrails: pin the version, verify compatibility with our Laravel release, write an integration test around each table's output, and keep row-level authorization in our own policies rather than assuming the package handles it.

Recommendation: Adopt for internal and back-office tables where DataTables.net is acceptable as the UI convention. Do not adopt it as the foundation for customer-facing grids or for admin experiences that will need saved views, exports, or rich filtering — in those cases, budget for a fuller admin framework instead. The main risk is stewardship, not technology: modest community size warrants a version-pin and an exit plan before it becomes load-bearing.

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.
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle