You need to upgrade datatables to v10
https://github.com/yajra/laravel-datatables/releases/tag/v10.3.0
"yajra/laravel-datatables-oracle": "~10.0"
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I try to Upgrading To 10.0 From 9.x. But after I applyid some changes in composer.json I got error :
$ >composer update
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- illuminate/contracts[v6.0.0, ..., v6.19.1] require php ^7.2 -> your php version (8.2.0) does not satisfy that requirement.
- illuminate/contracts[v7.0.0, ..., v7.28.4] require php ^7.2.5 -> your php version (8.2.0) does not satisfy that requirement.
- illuminate/contracts[v8.0.0, ..., v8.11.2] require php ^7.3 -> your php version (8.2.0) does not satisfy that requirement.
- Root composer.json requires fruitcake/laravel-cors ^3.0 -> satisfiable by fruitcake/laravel-cors[v3.0.0].
- fruitcake/laravel-cors v3.0.0 requires illuminate/contracts ^6|^7|^8|^9 -> satisfiable by illuminate/contracts[v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.0].
- Only one of these can be installed: illuminate/contracts[v5.8.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.0, v10.0.0], laravel/framework[v10.0.0]. laravel/framework replaces illuminate/contracts and thus cannot coexist with it.
- Root composer.json requires laravel/framework ^10.0 -> satisfiable by laravel/framework[v10.0.0].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
$ >
Now composer.json has :
{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": [
"framework",
"laravel"
],
"license": "MIT",
"require": {
"php": "^8.0",
"fruitcake/laravel-cors": "^3.0",
"guzzlehttp/guzzle": "^7.0.1",
"intervention/image": "^2.5",
"jaybizzle/laravel-crawler-detect": "^1.3",
"laravel/framework": "^10.0",
"laravel/jetstream": "^2.0",
"laravel/sanctum": "^2.6",
"laravel/scout": "^9.8",
"laravel/tinker": "^2.0",
"livewire/livewire": "^2.0",
"simplesoftwareio/simple-qrcode": "^4.2",
"yajra/laravel-datatables-oracle": "~9.0"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.5",
"spatie/laravel-ignition": "^2.0",
"fakerphp/faker": "^1.9.1",
"mockery/mockery": "^1.3.1",
"nunomaduro/collision": "^6.1",
"phpunit/phpunit": "^9.0"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"autoload": {
"psr-4": {
"App\": "app/",
"Database\Factories\": "database/factories/",
"Database\Seeders\": "database/seeders/"
},
"files": [
"app/Helpers/CustomHelpers.php"
]
},
"autoload-dev": {
"psr-4": {
"Tests\": "tests/"
}
},
"minimum-stability": "stable",
"prefer-stable": true,
"scripts": {
"post-autoload-dump": [
"Illuminate\Foundation\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi",
"@php artisan vendor:publish --force --tag=livewire:assets --ansi"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
]
}
}
and I do not see any illuminate* packages referenced in it...
How that can be fixed ?
Thanks!
@shimana It was just an example. You need to actually check your dependencies.. I did a quick check and found 1 more
https://github.com/fruitcake/laravel-cors/blob/master/composer.json
You cannot use this package as its not laravel 10 ready and is abandonned. But laravel can handle cors natively now
Please or to participate in this conversation.