I'm currently available for full time hire! Inquire Here

Laravel Livewire Tables Documentation

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

This is the documentation for 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

Avg Columns (beta)

Avg columns provide an easy way to display the "Average" of a field on a relation.

1AvgColumn::make('Average Related User Age')
2 ->setDataSource('users','age')
3 ->sortable(),

The "sortable()" callback can accept a callback, or you can use the default behaviour, which calculates the correct field to sort on.

Please also see the following for other available methods: