Skip to content

Commit 86e0c92

Browse files
feat: Laravel v12 Compatibility (#3217)
* Laravel v12 Compatibility * Update README.md * Pull request amends - Removed ^11 references for all the packages to have the same Laravel version constraint. + Added back in illuminate/view and set the version constraint to ^12 * Composer commands updated to ref ^12 * Readme.md badge updated * Update README.md Co-authored-by: Sébastien Alfaiate <seb33300@hotmail.com> * orchestra/testbench bumped to v10 * larastan/larastan bumped to v3.1.0 * rector/rector bumped to v2.0 Due to phpstan/phpstan --------- Co-authored-by: Sébastien Alfaiate <seb33300@hotmail.com>
1 parent b48eb61 commit 86e0c92

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![Donate](https://img.shields.io/badge/donate-paypal-blue.svg)](https://www.paypal.me/yajra)
55
[![Donate](https://img.shields.io/badge/donate-patreon-blue.svg)](https://www.patreon.com/bePatron?u=4521203)
66

7-
[![Laravel 4.2|5.x|6|7|8|9|10|11](https://img.shields.io/badge/Laravel-4.2|5.x|6|7|8|9|10|11-orange.svg)](http://laravel.com)
7+
[![Laravel 4.2|5.x|6|7|8|9|10|11|12](https://img.shields.io/badge/Laravel-4.2|5.x|6|7|8|9|10|11|12-orange.svg)](http://laravel.com)
88
[![Latest Stable Version](https://img.shields.io/packagist/v/yajra/laravel-datatables-oracle.svg)](https://packagist.org/packages/yajra/laravel-datatables-oracle)
99
[![Continuous Integration](https://github.com/yajra/laravel-datatables/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/yajra/laravel-datatables/actions/workflows/continuous-integration.yml)
1010
[![Static Analysis](https://github.com/yajra/laravel-datatables/actions/workflows/static-analysis.yml/badge.svg)](https://github.com/yajra/laravel-datatables/actions/workflows/static-analysis.yml)
@@ -86,19 +86,20 @@ return DataTables::make(User::all())->toJson();
8686
| 9.x | 10.x |
8787
| 10.x | 10.x |
8888
| 11.x | 11.x |
89+
| 12.x | 12.x |
8990

9091
## Quick Installation
9192

9293
### Option 1: Install all DataTables libraries
9394

9495
```bash
95-
composer require yajra/laravel-datatables:"^11"
96+
composer require yajra/laravel-datatables:"^12"
9697
```
9798

9899
### Option 2: Install only this library
99100

100101
```bash
101-
composer require yajra/laravel-datatables-oracle:"^11"
102+
composer require yajra/laravel-datatables-oracle:"^12"
102103
```
103104

104105
#### Service Provider & Facade (Optional on Laravel 5.5+)

composer.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@
1616
],
1717
"require": {
1818
"php": "^8.2",
19-
"illuminate/database": "^11",
20-
"illuminate/filesystem": "^11",
21-
"illuminate/http": "^11",
22-
"illuminate/support": "^11",
23-
"illuminate/view": "^11"
19+
"illuminate/database": "^12",
20+
"illuminate/filesystem": "^12",
21+
"illuminate/http": "^12",
22+
"illuminate/support": "^12",
23+
"illuminate/view": "^12"
2424
},
2525
"require-dev": {
2626
"algolia/algoliasearch-client-php": "^3.4.1",
27-
"larastan/larastan": "^2.9.1",
27+
"larastan/larastan": "^3.1.0",
2828
"laravel/pint": "^1.14",
2929
"laravel/scout": "^10.8.3",
3030
"meilisearch/meilisearch-php": "^1.6.1",
31-
"orchestra/testbench": "^9",
32-
"rector/rector": "^1.0"
31+
"orchestra/testbench": "^10",
32+
"rector/rector": "^2.0"
3333
},
3434
"suggest": {
3535
"yajra/laravel-datatables-export": "Plugin for server-side exporting using livewire and queue worker.",

0 commit comments

Comments
 (0)