File tree Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Original file line number Diff line number Diff line change 22
33<a name =" v6-to-v7 " ></a >
44## Upgrading from v6.x to v7.x
5- - composer require yajra/laravel-datatables-oracle:^7.0
6- - composer require yajra/laravel-datatables-buttons:^1.0
7- - php artisan vendor: publish --tag=datatables --force
8- - php artisan vendor: publish --tag=datatables-buttons --force
5+ To upgrade Laravel Datatable from version 6.x to version 7.x:
6+
7+ ``` sh
8+ composer require yajra/laravel-datatables-oracle:^7.0
9+ php artisan vendor:publish --tag=datatables --force
10+ ```
11+
12+ ### Service Approach
13+ Service class is now extracted to own plugin, ` Buttons Plugin ` . If you are using the service approach, you need to perform the following:
14+
15+ ``` sh
16+ composer require yajra/laravel-datatables-buttons:^1.0
17+ php artisan vendor:publish --tag=datatables-buttons --force
18+ ```
19+
20+ ### Html Builder
21+ HTML builder is now extracted to own plugin, If you are using Datatables html builder, you need to perform the following:
22+ > {info} HTML Builder plugin is a prerequisite of Buttons plugin. You can optionally skip this part if already installed the Buttons plugin.
23+
24+ ``` sh
25+ composer require yajra/laravel-datatables-html:^1.0
26+ php artisan vendor:publish --tag=datatables-html --force
27+ ```
28+
929
1030### XSS Protection
1131All columns are now escaped by default to protect us from XSS attack. To allow columns to have an html content, use ` rawColumns ` api.
You can’t perform that action at this time.
0 commit comments