Skip to content

Commit 8f7a599

Browse files
committed
Add upgrading v5.x to v6.x docs.
1 parent d843cef commit 8f7a599

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

readme.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,15 @@ Most of the latest updates/features are not available on these versions. Please
7070

7171
**Laravel 4:** `$ php artisan config:publish yajra/laravel-datatables-oracle`
7272

73-
7473
And that's it! Start building out some awesome DataTables!
7574

75+
## Upgrading from v5.x to v6.x
76+
- Change all occurrences of `yajra\Datatables` to `Yajra\Datatables`. (Use Sublime's find and replace all for faster update).
77+
- Remove `Datatables` facade registration.
78+
- Temporarily comment out `Yajra\Datatables\DatatablesServiceProvider`.
79+
- Update package version on your composer.json and use `yajra/laravel-datatables-oracle: ~6.0`
80+
- Uncomment the provider `Yajra\Datatables\DatatablesServiceProvider`.
81+
7682
## Contributing
7783

7884
Please see [CONTRIBUTING](https://github.com/yajra/laravel-datatables/blob/master/CONTRIBUTING.md) for details.

0 commit comments

Comments
 (0)