Skip to content

Commit 2ebbc12

Browse files
committed
Datatables version update to ~6.0
1 parent 47d3846 commit 2ebbc12

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

readme.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You are free to extend it the way you need. This package only generate things th
1616
```json
1717
...
1818
"laravelcollective/html": "5.2.*",
19-
"yajra/laravel-datatables-oracle": "~5.0",
19+
"yajra/laravel-datatables-oracle": "~6.0",
2020
"mpaleo/view-tags": "dev-master",
2121
"mpaleo/scaffolder-theme-material": "dev-master",
2222
"mpaleo/scaffolder": "dev-master",
@@ -34,7 +34,7 @@ You are free to extend it the way you need. This package only generate things th
3434
ViewTags\ViewTagsServiceProvider::class,
3535
ScaffolderTheme\ScaffolderThemeServiceProvider::class,
3636
Scaffolder\ScaffolderServiceProvider::class,
37-
yajra\Datatables\DatatablesServiceProvider::class,
37+
Yajra\Datatables\DatatablesServiceProvider::class,
3838
...
3939
```
4040
5. Add the following aliases in `{laravel-root}\config\app.php`
@@ -44,7 +44,6 @@ You are free to extend it the way you need. This package only generate things th
4444
'ViewTags' => ViewTags\ViewTags::class,
4545
'Form' => Collective\Html\FormFacade::class,
4646
'Html' => Collective\Html\HtmlFacade::class,
47-
'Datatables' => yajra\Datatables\Datatables::class,
4847
...
4948
```
5049

stubs/Controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Illuminate\Http\Request;
66
use App\Http\Controllers\Controller;
77
use App\Models\{{class_name}};
8-
use Datatables;
8+
use Yajra\Datatables\Datatables;
99

1010
class {{class_name}}Controller extends Controller
1111
{

0 commit comments

Comments
 (0)