rappasoft / laravel-livewire-tables
A dynamic table component for Laravel Livewire
Fund package maintenance!
rappasoft
Installs: 1 816 047
Dependents: 33
Suggesters: 0
Security: 0
Stars: 1 780
Watchers: 38
Forks: 337
Open Issues: 24
Requires
- php: ^8.1|^8.2|^8.3
- blade-ui-kit/blade-heroicons: ^2.1
- illuminate/contracts: ^10.0|^11.0
- illuminate/support: ^10.0|^11.0
- livewire/livewire: ^3.0|dev-main
Requires (Dev)
- ext-sqlite3: *
- brianium/paratest: ^5.0|^6.0|^7.0|^8.0
- larastan/larastan: ^2.6
- laravel/pint: ^1.10
- monolog/monolog: *
- nunomaduro/collision: ^6.0|^7.0|^8.0
- orchestra/testbench: ^7.0|^8.0|^9.0
- phpunit/phpunit: ^9.0|^10.0|^11.0
- dev-master
- v3.5.0
- v3.4.22
- v3.4.21
- v3.4.20
- v3.4.19
- v3.4.18
- v3.4.17
- v3.4.16
- v3.4.15
- v3.4.14
- v3.4.13
- v3.4.12
- v3.4.11
- v3.4.10
- v3.4.9
- v3.4.8
- v3.4.7
- v3.4.6
- v3.4.5
- v3.4.4
- v3.4.3
- v3.4.2
- v3.4.1
- v3.4.0
- v3.3.4
- v3.3.3
- v3.3.2
- v3.3.1
- v3.3.0
- v3.2.8
- v3.2.7
- v3.2.6
- v3.2.5
- v3.2.4
- v3.2.3
- v3.2.2
- v3.2.1
- v3.2.0
- v3.1.8
- v3.1.7
- v3.1.6
- v3.1.5
- v3.1.4
- v3.1.3
- v3.1.2
- v3.1.1
- v3.1.0
- v3.0.0-beta.11
- v3.0.0-beta.10
- v3.0.0-beta.9
- v3.0.0-beta.8
- v3.0.0-beta.7
- v3.0.0-beta.6
- v3.0.0-beta.5
- v3.0.0-beta.4
- v3.0.0-beta.3
- v3.0.0-beta.2
- v3.0.0-beta.1
- v2.15.0
- v2.14.0
- v2.13.1
- v2.13.0
- v2.12.0
- v2.11.0
- v2.10.0
- v2.9.0
- v2.8.0
- v2.7.0
- v2.6.0
- v2.5.0
- v2.4.0
- v2.3.0
- v2.2.1
- v2.2.0
- v2.1.1
- v2.0.0
- v1.x-dev
- v1.25.1
- v1.25.0
- v1.24.0
- v1.23.0
- v1.22.0
- v1.21.0
- v1.20.1
- v1.20.0
- v1.19.3
- v1.19.2
- v1.19.1
- v1.19.0
- v1.18.0
- v1.17.0
- v1.16.0
- v1.15.0
- v1.14.0
- v1.13.0
- v1.12.0
- v1.11.0
- v1.10.4
- v1.10.3
- v1.10.2
- v1.10.1
- v1.10.0
- v1.9.0
- v1.8.0
- v1.7.1
- v1.7.0
- v1.6.1
- v1.6.0
- v1.5.1
- v1.5.0
- v1.4.0
- v1.3.1
- v1.3.0
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.0
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v0.4.0
- v0.3.3
- v0.3.2
- v0.3.1
- v0.3.0
- v0.2.1
- v0.2.0
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
- dev-development
- dev-develop
- dev-v3-development
- dev-v2-master
- dev-v3-master
- dev-v3-develop
- dev-v2-develop
- dev-v1-develop
This package is auto-updated.
Last update: 2024-11-06 00:37:54 UTC
README
Enjoying this package? Buy me a beer 🍺
A dynamic Laravel Livewire component for data tables.
Bootstrap 4 Demo | Bootstrap 5 Demo | Tailwind Demo | Demo Repository
Installation
You can install the package via composer:
composer require rappasoft/laravel-livewire-tables
You must also have Alpine.js version 3 or greater installed and available to the component.
Documentation and Usage Instructions
See the documentation for detailed installation and usage instructions.
Basic Example
<?php namespace App\Http\Livewire\Admin\User; use App\Domains\Auth\Models\User; use Illuminate\Database\Eloquent\Builder; use Rappasoft\LaravelLivewireTables\DataTableComponent; use Rappasoft\LaravelLivewireTables\Views\Column; class UsersTable extends DataTableComponent { protected $model = User::class; public function configure(): void { $this->setPrimaryKey('id'); } public function columns(): array { return [ Column::make('ID', 'id') ->sortable(), Column::make('Name') ->sortable(), ]; } }
See advanced example
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please e-mail anthony@rappasoft.com to report any security vulnerabilities instead of the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.