Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 802 Bytes

buttons-installation.md

File metadata and controls

33 lines (23 loc) · 802 Bytes

Buttons Plugin

A Laravel DataTables plugin for handling server-side exporting of table as csv, excel, pdf, etc.

Installation

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

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

Configuration

This step is optional if you are using Laravel 5.5+

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