Home
Softono
mrcatz-datatables

mrcatz-datatables

Open source MIT PHP
11
Stars
0
Forks
0
Issues
0
Watchers
1 month
Last Commit

About mrcatz-datatables

A full-featured Laravel DataTable package for Livewire โ€” CRUD, filters, search, export, inline editing, bulk actions, and a Form Builder. Tailwind + DaisyUI.

Platforms

Web Self-hosted

Languages

PHP

Packagist Version Packagist Downloads License Docs Laravel Livewire Tailwind CSS DaisyUI

MrCatz DataTable

DataTable + Form Builder for Laravel Livewire โ€” build complete admin pages in minutes.

๐Ÿ“– Full documentation โ†’ ๐ŸŽฎ Live demo โ†’


What is this?

A complete, opinionated DataTable + CRUD framework for Laravel + Livewire applications. Bundles everything you typically rebuild from scratch on every admin page โ€” pagination, sorting, filtering, search, inline editing, bulk actions, expandable rows, exports, and a programmatic Form Builder โ€” into a single composable API.

Think of it as "Filament's CRUD productivity, but you keep full control over your stack." You choose your Tailwind version, your DaisyUI theme, your Livewire flavor โ€” MrCatz slots into your existing Laravel app instead of replacing it.

Highlights

  • โšก CRUD in minutes โ€” php artisan mrcatz:make Product --path=Admin scaffolds everything
  • ๐Ÿ” Smart search โ€” multi-keyword highlighting, per-column relevance scoring, typo tolerance, optional Meilisearch driver (beta)
  • ๐ŸŽฏ Powerful filters โ€” select, callback, dependent, and full date / date-range filters with operator support
  • โœ๏ธ Inline editing โ€” click any cell to edit, with validation rules, keyboard navigation, per-row gating
  • ๐Ÿ“Š PDF, CSV & Excel export โ€” built-in styling, fully customizable layouts
  • ๐Ÿงฑ Form Builder โ€” define add/edit forms in PHP with chainable modifiers, sections, conditional fields
  • โ˜‘๏ธ Bulk actions & expandable rows
  • ๐Ÿ“ฑ Fully responsive โ€” adapts cleanly from desktop tables to mobile card layouts out of the box
  • ๐ŸŽจ Themed via DaisyUI โ€” works with any DaisyUI theme, full control over colors

Quick install

composer require mrcatz/datatable

Wire your base layout. In your app's base layout (usually layouts/app.blade.php), add these three directives before </body>. All three are required โ€” without them the datatable, form modal, and toast notifications silently fail.

{{-- resources/views/layouts/app.blade.php --}}
<body>
    {{-- ... your app content ... --}}

    @include('mrcatz::components.ui.notification')

    @livewireScripts
    @stack('scripts')
</body>

Using Jetstream, Breeze, or Filament? Your layout likely already has @livewireScripts and @stack('scripts') โ€” you only need to add the notification include.

Add the package's blade path to your Tailwind content scan:

/* resources/css/app.css (Tailwind v4) */
@source '../../vendor/mrcatz/**/*.blade.php';

Then generate your first CRUD page:

php artisan mrcatz:make Product --path=Admin

Add a route and you're done:

Route::get('/admin/products', \App\Livewire\Admin\Product\ProductPage::class);

For the full setup walkthrough โ€” including optional Excel/PDF export, Meilisearch, Docker, and theming โ€” see the Quick Start guide.

Documentation

The complete reference, with code samples and live demos for every feature, is hosted at datatable.catzoid.tech.

Section What's covered
Getting Started Introduction, installation, quick-start
Core Features Columns, filters, search, sorting, pagination
Editing & Actions Inline editing, bulk actions, expandable rows
Form Builder Programmatic forms with chainable modifiers
Export PDF, CSV & Excel with custom layouts
Advanced Search Per-column scoring, typo tolerance, Meilisearch (beta)
Customization Icons, localization, theming
Deployment Docker patterns for vendor blade scanning

Requirements

  • PHP 8.1+
  • Laravel 11.x / 12.x / 13.x
  • Livewire 3.x / 4.x
  • Tailwind CSS v3 or v4
  • DaisyUI v4 or v5

Optional dependencies

composer require maatwebsite/excel        # CSV & Excel export
composer require barryvdh/laravel-dompdf  # PDF export
composer require laravel/scout meilisearch/meilisearch-php  # Meilisearch search driver (beta)

Built with Claude

A large portion of this package โ€” and its documentation site โ€” was built collaboratively with Anthropic's Claude. The maintainer focused on architecture decisions, requirements, and design trade-offs; Claude handled most of the implementation, tests, and docs writing. A reminder that AI-assisted development, when guided well, multiplies what one developer can ship.

Issues & contributions

Bug reports and feature requests welcome at github.com/mrc4tz/mrcatz-datatables/issues.

License

MIT