Laravel Livewire Tables Documentation

🎉 Enjoying this package? Consider sponsoring me on GitHub or buying me a beer.

This is the documentation for v1 but the latest version is v3. You can switch versions in the menu at the top. Check your current version with the following command:

composer show rappasoft/laravel-livewire-tables

Custom filter view

If you want full control over your filters, you can omit the filters() method and instead add a filtersView() method that return the string view name, which will be included in the master component on render. This is useful when you have different types of filters than the package offers:

You can take a look as the master component markup to get ideas on how best to lay out the filters UI.

1public function filtersView(): ?string
2{
3 return 'path.to.my.filters.view';
4}

If you have this defined, it will take precedence over the filters() method.