Skip to content
Icon

WARNING You're browsing the documentation for an old version of LARAVEL-DATATABLES. Consider upgrading your project to laravel-datatables 10.0.

Buttons Plugin Installation

Run the following command in your project to get the latest version of the plugin:

composer require yajra/laravel-datatables-buttons:^2.0

Open the file config/app.php and then add following service provider.

'providers' => [
// ...
Yajra\Datatables\DatatablesServiceProvider::class,
Yajra\Datatables\ButtonsServiceProvider::class,
],

After completing the step above, use the following command to publish configuration & assets:

php artisan vendor:publish --tag=datatables-buttons