PHPackages                             milenmk/laravel-simple-datatables - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. milenmk/laravel-simple-datatables

Abandoned → [https://github.com/milenmk/laravel-simple-datatables-and-forms](/?search=https%3A%2F%2Fgithub.com%2Fmilenmk%2Flaravel-simple-datatables-and-forms)Library[Utility &amp; Helpers](/categories/utility)

milenmk/laravel-simple-datatables
=================================

Simple Table component to create datatables for Livewire components

2.1.9(8mo ago)147MITPHPPHP ^8.2|^8.3|^8.4

Since Mar 14Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/milenmk/laravel-simple-datatables-and-forms)[ Packagist](https://packagist.org/packages/milenmk/laravel-simple-datatables)[ RSS](/packages/milenmk-laravel-simple-datatables/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (10)Dependencies (15)Versions (53)Used By (0)

Laravel Simple Datatables And Forms
===================================

[](#laravel-simple-datatables-and-forms)

[![Latest Version on Packagist](https://camo.githubusercontent.com/77147a453cba4f25fecff1889559bf0dd37c925bb15cc5484157f29cc02628ab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d696c656e6d6b2f6c61726176656c2d73696d706c652d646174617461626c65732d616e642d666f726d732e7376673f7374796c653d666c6174)](https://packagist.org/packages/milenmk/laravel-simple-datatables-and-forms)[![Total Downloads](https://camo.githubusercontent.com/d063bba97627585a07ae05055843771365c49b4acdc0ac8ca1dfb1c8523ceb2f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d696c656e6d6b2f6c61726176656c2d73696d706c652d646174617461626c65732d616e642d666f726d732e7376673f7374796c653d666c6174)](https://packagist.org/packages/milenmk/laravel-simple-datatables-and-forms)[![GitHub User's stars](https://camo.githubusercontent.com/4b538b237206fd16a0f1e79115199a8ff8ea94e5985e8033822f7a47c2cb365a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6d696c656e6d6b2f6c61726176656c2d73696d706c652d646174617461626c65732d616e642d666f726d73)](https://github.com/milenmk/laravel-simple-datatables-and-forms)[![Laravel 10 Support](https://camo.githubusercontent.com/0b7f902482de7d3663b7aa6b87b7caca6e7b3fed489112e6f65f79f4514e60de/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31302e7825374331312e7825374331322e782d6f72616e67653f7374796c653d666c6174266c6f676f3d6c61726176656c)](https://laravel.com/docs)[![PHP Version Support](https://camo.githubusercontent.com/312fb0a3db9818170c162a74155a8ba2b042c2059c4f12c14818e3a0432114c8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d696c656e6d6b2f6c61726176656c2d73696d706c652d646174617461626c65732d616e642d666f726d733f7374796c653d666c6174)](https://www.php.net)[![License](https://camo.githubusercontent.com/b496b0fbaed0227c01f4fa9f49d373a885f8df8a871ad5b5b17da0769be8c430/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d696c656e6d6b2f6c61726176656c2d73696d706c652d646174617461626c65732d616e642d666f726d732e7376673f7374796c653d666c6174)](https://github.com/milenmk/laravel-simple-datatables-and-forms/blob/develop/LICENSE.md)[![Contributions Welcome](https://camo.githubusercontent.com/9e93e892d0685e1bf7a1d0bd7c8410d6ecf2086a0a7b48dd58a6b96fa556ea2a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f6e747269627574696f6e732d77656c636f6d652d627269676874677265656e2e7376673f7374796c653d666c6174)](https://github.com/milenmk/laravel-simple-datatables-and-forms/issues)[![Sponsor me](https://camo.githubusercontent.com/2aff1b5ae52a46452f3284b52645e299f456561d4dfd9b4d20d0a00a8351a123/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53706f6e736f722d2545322539442541342d6666363962343f7374796c653d666c6174)](https://www.patreon.com/c/LaravelAddonsbyMilen)

A lightweight, easy-to-use Laravel package for creating interactive data tables and dynamic forms with Livewire integration.

[![Screenshot](resources/img/light.png)](resources/img/light.png)[![Screenshot](resources/img/dark.png)](resources/img/dark.png)

Overview
--------

[](#overview)

Laravel Simple Datatables And Forms provides two powerful components for your Laravel applications:

### 📊 Data Tables

[](#-data-tables)

Create interactive, feature-rich data tables with minimal code. Includes advanced search, sorting, filtering, grouping, and export capabilities.

### 📝 Dynamic Forms

[](#-dynamic-forms)

Build dynamic forms with fluent API, multiple field types, validation, and model binding support.

Key Features
------------

[](#key-features)

- 🔍 **Advanced Search** - Debounced search with minimum character requirements
- 🔄 **Column Sorting** - Click-to-sort functionality for table columns
- 🧹 **Filtering &amp; Grouping** - Multiple filter types with advanced grouping options
- 📤 **Data Export** - Export to CSV, Excel, and PDF formats
- 📝 **Dynamic Forms** - Fluent features for building complex forms
- 🔧 **Multiple Field Types** - Input, Select, Checkbox, Toggle, Textarea, and more
- ✅ **Validation Integration** - Built-in Laravel validation support
- 📱 **Responsive Design** - Mobile-friendly components
- ⚡ **Performance Optimized** - Intelligent caching and query optimization
- 🔒 **Security Features** - CSRF protection and input sanitization
- 🧩 **Seamless Livewire Integration** - Built specifically for Livewire 3.x

Requirements
------------

[](#requirements)

- PHP 8.2 or higher (compatible with PHP 8.3 and 8.4)
- Laravel 10.x or higher (compatible with Laravel 11.x and 12.x)
- Livewire 3.x or higher

Quick Start
-----------

[](#quick-start)

### Installation

[](#installation)

```
composer require milenmk/laravel-simple-datatables-and-forms
```

### Publish Configurations

[](#publish-configurations)

```
php artisan vendor:publish --tag=laravel-simple-datatables-and-forms-config
```

### Publish Assets

[](#publish-assets)

```
php artisan simple-datatables-and-forms:publish-assets
```

### Include Assets in Your Layout

[](#include-assets-in-your-layout)

```

    @SimpleDatatablesStyle

    @SimpleDatatablesScript

```

### Create Your First Data Table

[](#create-your-first-data-table)

Generate a table component:

```
php artisan make:milenmk-datatable UserList User --generate
```

Or create manually:

```
use Milenmk\LaravelSimpleDatatablesAndForms\Traits\HasTable;

class UserList extends Component
{
    use HasTable;

    public function table(Table $table): Table
    {
        return $table
            ->query(User::query())
            ->schema([
                TextColumn::make('name')->searchable()->sortable(),
                TextColumn::make('email')->searchable(),
                ToggleColumn::make('is_active')->label('Active'),
            ])
            ->striped()
            ->paginate();
    }
}
```

### Create Your First Form

[](#create-your-first-form)

Generate a form component:

```
php artisan make:milenmk-form CreateUser create User --generate
```

Or create manually:

```
use Milenmk\LaravelSimpleDatatablesAndForms\Traits\HasForm;

class CreateUser extends Component
{
    use HasForm;

    public function form(Form $form): Form
    {
        return $form->model(User::class)->schema([
            InputField::make('name')->required(),
            InputField::make('email')->email()->required(),
            SelectField::make('role')
                ->options(['admin' => 'Admin', 'user' => 'User'])
                ->required(),
        ]);
    }
}
```

Documentation
-------------

[](#documentation)

### 📚 Complete Documentation

[](#-complete-documentation)

- **[Documentation Hub](docs/README.md)** - Complete documentation index and navigation guide
- **[Troubleshooting Guide](docs/troubleshooting.md)** - Common issues and solutions

### 📊 Data Tables Documentation

[](#-data-tables-documentation)

- **[Getting Started](docs/tables/getting-started.md)** - Quick start guide for tables
- **[Column Types](docs/tables/column-types.md)** - Complete reference for all column types
- **[Configuration](docs/tables/configuration.md)** - Configuration guide and options
- **[Advanced Features](docs/tables/search.md)** - Search, filtering, export, and caching

### 📝 Forms Documentation

[](#-forms-documentation)

- **[Getting Started](docs/forms/getting-started.md)** - Quick start guide for forms
- **[Field Types](docs/forms/field-types.md)** - Complete reference for all field types
- **[Validation](docs/forms/validation.md)** - Validation rules and techniques
- **[Advanced Features](docs/forms/model-binding.md)** - Model binding and relationships

Tailwind CSS Integration
------------------------

[](#tailwind-css-integration)

Add the package views to your Tailwind configuration:

```
// tailwind.config.js
module.exports = {
    content: [
        // ... your existing content paths
        './vendor/milenmk/laravel-simple-datatables-and-forms/resources/views/**/*.blade.php',
    ],
    // ... rest of your configuration
};
```

Contributing
------------

[](#contributing)

Contributions are welcome! Please visit our [GitHub repository](https://github.com/milenmk/laravel-simple-datatables-and-forms) to:

- Report bugs or request features
- Submit pull requests
- Browse existing issues
- Join discussions

Support
-------

[](#support)

- **[Documentation](docs/README.md)** - Comprehensive guides and examples
- **[GitHub Issues](https://github.com/milenmk/laravel-simple-datatables-and-forms/issues)** - Bug reports and feature requests
- **[Email Support](mailto:support@minkov.dev)** - Direct support for complex issues

Changelog
---------

[](#changelog)

Please see [CHANGELOG.md](CHANGELOG.md) for more information on what has changed recently.

Support My Work
---------------

[](#support-my-work)

If this package saves you time, you can support ongoing development:
👉 [Become a Patron](https://www.patreon.com/c/LaravelAddonsbyMilen)

Other Packages
--------------

[](#other-packages)

Check out my other Laravel packages:

- **[Laravel GDPR Cookie Manager](https://packagist.org/packages/milenmk/laravel-gdpr-cookie-manager)** - GDPR-compliant cookie consent management with user preference tracking
- **[Laravel Blacklist](https://packagist.org/packages/milenmk/laravel-blacklist)** - A Laravel package for blacklist validation of user input
- **[Laravel Email Change Confirmation](https://packagist.org/packages/milenmk/laravel-email-change-confirmation)** - Secure email change confirmation system
- **[Laravel GDPR Exporter](https://packagist.org/packages/milenmk/laravel-gdpr-exporter)** - GDPR-compliant data export functionality
- **[Laravel Locations](https://packagist.org/packages/milenmk/laravel-locations)** - Add Countries, Cities, Areas, Languages and Currencies models to your Laravel application
- **[Laravel Rate Limiting](https://packagist.org/packages/milenmk/laravel-rate-limiting)** - Advanced rate limiting capabilities with exponential backoff

License
-------

[](#license)

This package is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.

Disclaimer
----------

[](#disclaimer)

This package is provided "as is", without warranty of any kind, express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, or noninfringement.

The author(s) make no guarantees regarding the accuracy, reliability, or completeness of the code, and shall not be held liable for any damages or losses arising from its use.

Please ensure you thoroughly test this package in your environment before deploying it to production.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance65

Regular maintenance activity

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Total

52

Last Release

256d ago

Major Versions

1.13.1 → 2.0.12025-08-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/a8b620564b17fda00eccd47bc8b4e61256537052c1b0f1f131e4196446a50fd0?d=identicon)[milenmk](/maintainers/milenmk)

---

Top Contributors

[![milenmk](https://avatars.githubusercontent.com/u/4587305?v=4)](https://github.com/milenmk "milenmk (111 commits)")

---

Tags

formslaravellaravel-packagelivewiretables

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/milenmk-laravel-simple-datatables/health.svg)

```
[![Health](https://phpackages.com/badges/milenmk-laravel-simple-datatables/health.svg)](https://phpackages.com/packages/milenmk-laravel-simple-datatables)
```

###  Alternatives

[livewire/flux

The official UI component library for Livewire.

9385.0M86](/packages/livewire-flux)[akaunting/laravel-money

Currency formatting and conversion package for Laravel

7825.3M18](/packages/akaunting-laravel-money)[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

703141.0k7](/packages/tallstackui-tallstackui)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
