Skip to content

Commit

Permalink
feat: Laravel version migration from 9 to 10
Browse files Browse the repository at this point in the history
  • Loading branch information
CS76 committed Aug 22, 2023
1 parent bfdc952 commit 4a81f89
Show file tree
Hide file tree
Showing 9 changed files with 1,819 additions and 1,651 deletions.
2 changes: 1 addition & 1 deletion app/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Kernel extends HttpKernel
protected $middleware = [
// \App\Http\Middleware\TrustHosts::class,
\App\Http\Middleware\TrustProxies::class,
\Fruitcake\Cors\HandleCors::class,
\Illuminate\Http\Middleware\HandleCors::class,
\App\Http\Middleware\PreventRequestsDuringMaintenance::class,
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
\App\Http\Middleware\TrimStrings::class,
Expand Down
3 changes: 1 addition & 2 deletions app/Providers/AuthServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ class AuthServiceProvider extends ServiceProvider
*/
public function boot()
{
$this->registerPolicies();

// $this->registerPolicies();
//
}
}
28 changes: 15 additions & 13 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,27 @@
],
"license": "MIT",
"require": {
"php": "^7.3|^8.1",
"php": "^8.1",
"aws/aws-sdk-php": "^3.208",
"doctrine/dbal": "^3.1",
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^7.4",
"http-interop/http-factory-guzzle": "^1.2",
"inertiajs/inertia-laravel": "^0.5.4",
"larabug/larabug": "^2.5",
"laravel/framework": "^9.39.0",
"inertiajs/inertia-laravel": "^0.6.9",
"larabug/larabug": "^3.0",
"laravel/framework": "^10.0",
"laravel/horizon": "^5.9",
"laravel/jetstream": "^2.3",
"laravel/sanctum": "^2.6",
"laravel/sanctum": "^3.2",
"laravel/scout": "^9.4",
"laravel/tinker": "^2.5",
"league/flysystem-aws-s3-v3": "^3.0",
"league/flysystem-ziparchive": "^3.0",
"maennchen/zipstream-php": "^2.2",
"maize-tech/laravel-markable": "^1.0",
"maize-tech/laravel-markable": "^2.1.0",
"meilisearch/meilisearch-php": "^1.0",
"mpociot/versionable": "^4.3",
"nfdi4chem/orcid": "master",
"owen-it/laravel-auditing": "^12.0",
"owen-it/laravel-auditing": "^13.5.1",
"predis/predis": "^1.1",
"spatie/laravel-cookie-consent": "^3.2.1",
"spatie/laravel-permission": "^5.1",
Expand All @@ -39,15 +38,15 @@
"tightenco/ziggy": "^1.0"
},
"require-dev": {
"brianium/paratest": "^6.6",
"brianium/paratest": "^7.2.5",
"fakerphp/faker": "^1.9.1",
"laravel/pint": "^1.0",
"laravel/sail": "^1.15",
"laravel/telescope": "^4.9",
"mockery/mockery": "^1.4.2",
"nunomaduro/collision": "^6.1",
"phpunit/phpunit": "^9.3.3",
"spatie/laravel-ignition": "^1.0"
"nunomaduro/collision": "^7.0",
"phpunit/phpunit": "^10.0",
"spatie/laravel-ignition": "^2.0"
},
"autoload": {
"files": [
Expand Down Expand Up @@ -90,7 +89,10 @@
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"php-http/discovery": true
}
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down
Loading

0 comments on commit 4a81f89

Please sign in to comment.