rappasoft / laravel-livewire-tables
A dynamic table component for Laravel Livewire
Fund package maintenance!
rappasoft
Installs: 884 438
Dependents: 25
Suggesters: 0
Security: 0
Stars: 1 376
Watchers: 32
Forks: 259
Open Issues: 24
Requires
- php: ^7.4|^8.0|^8.1|^8.2
- illuminate/contracts: ^8.0|^9.0|^10.0
- livewire/livewire: ^2.6
- spatie/laravel-package-tools: ^1.4.3
Requires (Dev)
- ext-sqlite3: *
- brianium/paratest: ^4.0|^5.0|^6.0|^7.0
- nunomaduro/collision: ^4.0|^5.0|^6.0|^7.0
- orchestra/testbench: ^6.0|^7.0|^8.0
- phpunit/phpunit: ^9.0|^10.0
- dev-master
- 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-develop
- dev-column-select
This package is auto-updated.
Last update: 2023-05-21 03:21:14 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.