Skip to content

Commit 66dad6c

Browse files
authored
Merge pull request #118 from haroon-mahmood-4276/patch-1
Docs updated for Laravel V12
2 parents a6035a1 + 666952c commit 66dad6c

File tree

5 files changed

+18
-12
lines changed

5 files changed

+18
-12
lines changed

buttons-installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ A Laravel DataTables plugin for handling server-side exporting of table as csv,
77

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

10-
```shell
11-
composer require yajra/laravel-datatables-buttons:^11.0
10+
```bash
11+
composer require yajra/laravel-datatables-buttons:"^12.0"
1212
```
1313

1414
<a name="configuratio"></a>
@@ -28,6 +28,6 @@ Open the file ```config/app.php``` and then add following service provider.
2828

2929
After completing the step above, use the following command to publish configuration & assets:
3030

31-
```shell
31+
```bash
3232
php artisan vendor:publish --tag=datatables-buttons
3333
```

editor-installation.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ A [premium license](https://editor.datatables.net/purchase/index) is required to
1111

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

14-
`composer require yajra/laravel-datatables-editor:^11.0`
14+
```bash
15+
composer require yajra/laravel-datatables-editor:"^12.0"
16+
```
1517

1618
<a name="configuration"></a>
1719
## Configuration

fractal-installation.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ Github: https://github.com/yajra/laravel-datatables-fractal
44

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

7-
`composer require yajra/laravel-datatables-fractal:^11.0`
7+
```bash
8+
composer require yajra/laravel-datatables-fractal:"^12.0"
9+
```
810

911
## Configuration
1012
> This step is optional if you are using Laravel 5.5

html-installation.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ Github: https://github.com/yajra/laravel-datatables-html
66

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

9-
`composer require yajra/laravel-datatables-html:^11.0`
9+
```bash
10+
composer require yajra/laravel-datatables-html:"^12.0"
11+
```
1012

1113
## Configuration
1214

installation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<a name="requirements"></a>
1212
### Requirements
1313

14-
- [Laravel 11](https://github.com/laravel/framework)
15-
- [DataTables v2.x](http://datatables.net/)
14+
- [Laravel 12](https://github.com/laravel/framework)
15+
- [DataTables 1.x|2.x](http://datatables.net/)
1616

1717
<a name="installing-laravel-datatables"></a>
1818
### Installing Laravel DataTables
@@ -22,20 +22,20 @@ Laravel DataTables can be installed with [Composer](http://getcomposer.org/doc/0
2222
Run the following command in your project to get the latest version of the package:
2323

2424
```bash
25-
composer require yajra/laravel-datatables-oracle:"^11.0"
25+
composer require yajra/laravel-datatables-oracle:"^12.0"
2626
```
2727

2828
If you use most of the DataTables plugins like Buttons & HTML, you can use the all-in-one installer package.
2929

3030
```bash
31-
composer require yajra/laravel-datatables:"^11.0"
31+
composer require yajra/laravel-datatables:"^12.0"
3232
```
3333

3434
<a name="configuration"></a>
3535
### Configuration
3636
> This step is optional if you are using Laravel 5.5+
3737
38-
Open the file ```config/app.php``` or ```bootstrap/providers.php``` for Laravel 11 then add the following service provider.
38+
Open the file ```config/app.php``` or ```bootstrap/providers.php``` for Laravel 12 then add following service provider.
3939

4040
```php
4141
'providers' => [
@@ -46,7 +46,7 @@ Open the file ```config/app.php``` or ```bootstrap/providers.php``` for Laravel
4646

4747
After completing the step above, use the following command to publish configuration & assets:
4848

49-
```
49+
```bash
5050
php artisan vendor:publish --tag=datatables
5151
```
5252

0 commit comments

Comments
 (0)