Level 40
https://github.com/orchestral/html looks pretty robust
Is there any good HTML table generators for Laravel? I found https://github.com/lloricode/laravel-html-table that generates a table great by passing in my model from the controller and spitting it out in the blade template but there is no way to and a link in the table. I would image for building a CRUD admin there would be some solution where I can pass in a model like Users in a controller:
$model = 'App\User';
$title = ['Name'];
$fields = ['name'];
return view('admin.dashboard',
[
'title' => $title,
'model' => $model,
'fields' => $fields
]);
then in the view spit out a table with a link to the id:
{!! Table::generateTableFromModel(
$title,
$model,
$fields,
20)
!!}
{{ Table::links() }}
Please or to participate in this conversation.