rappasoft/laravel-livewire-tables

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
Supports Livewire 3 and 4. Livewire includes Alpine.js; avoid loading a second copy in your application.
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.
Related Packages
Additional/Advanced Filters for Rappasoft's Laravel Livewire Tables
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v3.10.0 | ^8.1| | ^10.0| | MIT | |
| v3.9.0 | ^8.1| | ^10.0| | MIT | |
| v3.8.0 | ^8.1| | ^10.0| | MIT | |
| v3.7.3 | ^8.1| | ^10.0| | MIT | |
| v3.7.2 | ^8.1| | ^10.0| | MIT | |
| v3.7.1 | ^8.1| | ^10.0| | MIT | |
| v3.7.0 | ^8.1| | ^10.0| | MIT | |
| v3.6.0 | ^8.1| | ^10.0| | MIT | |
| v3.5.10 | ^8.1| | ^10.0| | MIT | |
| v3.5.9 | ^8.1| | ^10.0| | MIT | |
| v3.5.8 | ^8.1| | ^10.0| | MIT | |
| v3.5.7 | ^8.1| | ^10.0| | MIT | |
| v3.5.6 | ^8.1| | ^10.0| | MIT | |
| v3.5.5 | ^8.1| | ^10.0| | MIT | |
| v3.5.4 | ^8.1| | ^10.0| | MIT | |
| v3.5.3 | ^8.1| | ^10.0| | MIT | |
| v3.5.2 | ^8.1| | ^10.0| | MIT | |
| v3.5.1 | ^8.1| | ^10.0| | MIT | |
| v3.5.0 | ^8.1| | ^10.0| | MIT | |
| v3.4.22 | ^8.1| | ^10.0| | MIT | |
| v3.4.21 | ^8.1| | ^10.0| | MIT | |
| v3.4.20 | ^8.1| | ^10.0| | MIT | |
| v3.4.19 | ^8.1| | ^10.0| | MIT | |
| v3.4.18 | ^8.1| | ^10.0| | MIT | |
| v3.4.17 | ^8.1| | ^10.0| | MIT | |
| v3.4.16 | ^8.1| | ^10.0| | MIT | |
| v3.4.15 | ^8.1| | ^10.0| | MIT | |
| v3.4.14 | ^8.1| | ^10.0| | MIT | |
| v3.4.13 | ^8.1| | ^10.0| | MIT | |
| v3.4.12 | ^8.1| | ^10.0| | MIT |
Showing the latest 30 of 142. See every release on Packagist
Pre-releases (11)
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v3.0.0-beta.11 | ^8.1| | ^10.0| | MIT | |
| v3.0.0-beta.10 | ^8.1| | ^10.0| | MIT | |
| v3.0.0-beta.9 | ^8.1| | ^10.0| | MIT | |
| v3.0.0-beta.8 | ^8.1| | ^10.0| | MIT | |
| v3.0.0-beta.7 | ^8.1| | ^10.0| | MIT | |
| v3.0.0-beta.6 | ^8.1| | ^10.0| | MIT | |
| v3.0.0-beta.5 | ^8.1| | ^10.0| | MIT | |
| v3.0.0-beta.4 | ^8.1| | ^10.0| | MIT | |
| v3.0.0-beta.3 | ^8.1| | ^10.0| | MIT | |
| v3.0.0-beta.2 | ^8.1| | ^10.0| | MIT | |
| v3.0.0-beta.1 | ^8.1| | ^10.0| | MIT |