Skip to content

Commit 1b5b833

Browse files
authored
Merge pull request #2727 from nickurt/feature/laravel9
Support for Laravel 9
2 parents d2cae05 + 08d8fd0 commit 1b5b833

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "yajra/laravel-datatables-oracle",
3-
"description": "jQuery DataTables API for Laravel 4|5|6|7",
3+
"description": "jQuery DataTables API for Laravel 5|6|7|8|9",
44
"keywords": [
55
"laravel",
66
"dataTables",
@@ -15,14 +15,14 @@
1515
],
1616
"require": {
1717
"php": "^7.1.3|^8",
18-
"illuminate/database": "5.8.*|^6|^7|^8",
19-
"illuminate/filesystem": "5.8.*|^6|^7|^8",
20-
"illuminate/http": "5.8.*|^6|^7|^8",
21-
"illuminate/support": "5.8.*|^6|^7|^8",
22-
"illuminate/view": "5.8.*|^6|^7|^8"
18+
"illuminate/database": "5.8.*|^6|^7|^8|^9",
19+
"illuminate/filesystem": "5.8.*|^6|^7|^8|^9",
20+
"illuminate/http": "5.8.*|^6|^7|^8|^9",
21+
"illuminate/support": "5.8.*|^6|^7|^8|^9",
22+
"illuminate/view": "5.8.*|^6|^7|^8|^9"
2323
},
2424
"require-dev": {
25-
"orchestra/testbench": "^3.8"
25+
"orchestra/testbench": "^3.8|^4.0|^5.0|^6.0|^7.0"
2626
},
2727
"suggest": {
2828
"yajra/laravel-datatables-buttons": "Plugin for server-side exporting of dataTables.",

tests/Http/Resources/UserResource.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
namespace Yajra\DataTables\Tests\Http\Resources;
44

5-
use Illuminate\Http\Resources\Json\Resource;
5+
use Illuminate\Http\Resources\Json\JsonResource;
66

7-
class UserResource extends Resource
7+
class UserResource extends JsonResource
88
{
99
/**
1010
* Transform the resource into an array.

0 commit comments

Comments
 (0)