Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork363
A dynamic table component for Laravel Livewire
License
rappasoft/laravel-livewire-tables
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Enjoying this package?Buy me a beer 🍺
A dynamic Laravel Livewire component for data tables.
You can install the package via composer:
composer require rappasoft/laravel-livewire-tables
You must also haveAlpine.js version 3 or greater installed and available to the component.
See thedocumentation for detailed installation and usage instructions.
<?phpnamespaceApp\Http\Livewire\Admin\User;useApp\Domains\Auth\Models\User;useIlluminate\Database\Eloquent\Builder;useRappasoft\LaravelLivewireTables\DataTableComponent;useRappasoft\LaravelLivewireTables\Views\Column;class UsersTableextends DataTableComponent{protected$model = User::class;publicfunctionconfigure():void {$this->setPrimaryKey('id'); }publicfunctioncolumns():array {return [ Column::make('ID','id') ->sortable(), Column::make('Name') ->sortable(), ]; }}
composertestPlease seeCHANGELOG for more information on what has changed recently.
Please seeCONTRIBUTING for details.
Please e-mailanthony@rappasoft.com to report any security vulnerabilities instead of the issue tracker.
The MIT License (MIT). Please seeLicense File for more information.
About
A dynamic table component for Laravel Livewire
Topics
Resources
License
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.


