mlsolutions/table-widget
A Laravel package that adds a reusable table widget for rendering tabular data with configurable columns, sorting, and actions. Drop it into dashboards or views to display query results quickly without rebuilding table markup each time.
Treat mlsolutions/table-widget as a thin, read-only Nova dashboard table: useful for “recent failed jobs”, “orders needing review”, “latest signups”, or similar operational lists. Because adoption is effectively zero, start by pinning the package and validating it against your Nova/dashboard versions.
Minimal path:
composer.json for Laravel, Nova, and laravel/nova-dashboard version constraints. Install on a branch:
composer require mlsolutions/table-widget:^...
php artisan vendor:publish --provider="MlSolutions\TableWidget\TableWidgetServiceProvider"
php artisan nova:publish
README.md, src/, resources/js, and the service provider. Identify the base widget class, how it receives a query/data source, how columns are declared, and whether it expects a Nova resource, Eloquent builder, or array.Register that widget on the dashboard only after you can render it locally and confirm the card endpoint returns data.
Model::query()->with(...)->latest()->limit(...) rather than raw arrays. If the package can consume a Nova resource, reuse its index query and field metadata; otherwise map the few fields you need manually.nova:publish ran, the Vue component is registered, and the browser console/network response for the Nova card endpoint is clean. Clear caches with php artisan optimize:clear after publishing.php artisan config:cache cannot serialize closures. Prefer class strings or widget methods for dynamic behavior.How can I help you explore Laravel packages today?