|Maintainer Contact:||email@example.com (Maxim Kerstens)|
|Package Create Date:||2015-07-20|
|Package Last Update:||2016-10-28|
|Last Refreshed:||2023-11-27 03:00:48|
|Total Open Issues:||3|
I've taken a similar approach to this problem as Laravel's own form
First run composer require:
composer require dragonfly/lists
Next open up
app/config/app.php and add the serviceProvider:
Once that's done open up
app/Http/Kernel.php, we'll need to add a trait to the class and a new property:
use \DragonFly\Lists\Http\KernelTrait; /** * DataTable definitions (the key is used as a slug for routing) * * @var array */ protected $tables = ;
Lastly you'll create a new folder called
app/Http and you're all set to go.
However if you'd like to make use of the config file & assets that comes bundled, you could run the following command in your terminal:
php artisan php artisan vendor:publish --provider="DragonFly\Lists\ServiceProvider" --tag="merge"
If you'd like to tweak the views or lang file you cn publish those using:
php artisan vendor:publish --provider="DragonFly\Lists\ServiceProvider" --tag="solid"
QueryBuilderas data source
I've written down the documentation over at readme.io