Skip to content

Commit 3f2d643

Browse files
committed
Add upgrade doc and update read me.
1 parent cf8b380 commit 3f2d643

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-13
lines changed

README.md

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ return Datatables::of(User::all())->make(true);
3030
```
3131

3232
## Requirements
33-
- [PHP 5.5.9 or later](http://php.net/)
34-
- [Laravel 5.0 or later](https://github.com/laravel/framework)
35-
- [DataTables jQuery Plugin](http://datatables.net/) **Version 1.10.xx**
33+
- [PHP >=5.5.9](http://php.net/)
34+
- [Laravel 5.x](https://github.com/laravel/framework)
35+
- [jQuery DataTables v1.10.x](http://datatables.net/)
3636

3737
## Documentations
38-
- You will find user friendly and updated documentation in the wiki here: [Laravel Datatables Wiki](https://github.com/yajra/laravel-datatables/wiki)
39-
- You will find the API Documentation here: [Laravel Datatables API](http://yajra.github.io/laravel-datatables/api/)
38+
- [Laravel Datatables Documentation](http://datatables.yajrabox.com/docs/laravel-datatables)
39+
- [Laravel Datatables API](http://yajra.github.io/laravel-datatables/api/)
4040
- [Demo Application](http://datatables.yajrabox.com) is available for artisan's reference.
4141

4242
## Quick Installation
43-
`composer require yajra/laravel-datatables-oracle:~6.0`
43+
`composer require yajra/laravel-datatables-oracle:dev-master`
4444

4545
#### Service Provider
4646
`Yajra\Datatables\DatatablesServiceProvider::class`
@@ -53,13 +53,6 @@ return Datatables::of(User::all())->make(true);
5353

5454
And that's it! Start building out some awesome DataTables!
5555

56-
## Upgrading from v5.x to v6.x
57-
- Change all occurrences of `yajra\Datatables` to `Yajra\Datatables`. (Use Sublime's find and replace all for faster update).
58-
- Remove `Datatables` facade registration.
59-
- Temporarily comment out `Yajra\Datatables\DatatablesServiceProvider`.
60-
- Update package version on your composer.json and use `yajra/laravel-datatables-oracle: ~6.0`
61-
- Uncomment the provider `Yajra\Datatables\DatatablesServiceProvider`.
62-
6356
## Debugging Mode
6457
To enable debugging mode, just set `APP_DEBUG=true` and the package will include the queries and inputs used when processing the table.
6558

UPGRADE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## Upgrading from v6.x to v7.x
2+
- composer require yajra/laravel-datatables-oracle
3+
- composer require yajra/laravel-datatables-buttons
4+
- php artisan vendor:publish --tag=datatables --force
5+
- php artisan vendor:publish --tag=datatables-buttons --force
6+
7+
## Upgrading from v5.x to v6.x
8+
- Change all occurrences of `yajra\Datatables` to `Yajra\Datatables`. (Use Sublime's find and replace all for faster update).
9+
- Remove `Datatables` facade registration.
10+
- Temporarily comment out `Yajra\Datatables\DatatablesServiceProvider`.
11+
- Update package version on your composer.json and use `yajra/laravel-datatables-oracle: ~6.0`
12+
- Uncomment the provider `Yajra\Datatables\DatatablesServiceProvider`.

0 commit comments

Comments
 (0)