Skip to content

Commit

Permalink
Updated Kanka to Laravel 10
Browse files Browse the repository at this point in the history
  • Loading branch information
spitfire305 committed Mar 30, 2023
1 parent a5dc3a5 commit 62e1dd8
Show file tree
Hide file tree
Showing 5 changed files with 1,109 additions and 707 deletions.
2 changes: 1 addition & 1 deletion app/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class Kernel extends HttpKernel
*
* @var array
*/
protected $routeMiddleware = [
protected $middlewareAliases = [
'localize' => \Mcamara\LaravelLocalization\Middleware\LaravelLocalizationRoutes::class,
'localizationRedirect' => \Mcamara\LaravelLocalization\Middleware\LaravelLocalizationRedirectFilter::class,
'localeSessionRedirect' => \Mcamara\LaravelLocalization\Middleware\LocaleSessionRedirect::class,
Expand Down
6 changes: 0 additions & 6 deletions app/Providers/AuthServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,7 @@ class AuthServiceProvider extends ServiceProvider
*/
public function boot()
{
if (!app()->runningInConsole() || $this->shouldLoadPolicies()) {
$this->registerPolicies();
}
if (!app()->runningInConsole()) {
Passport::routes(null, [
'prefix' => LaravelLocalization::setLocale() . '/oauth',
]);
Passport::enableImplicitGrant();
}
}
Expand Down
23 changes: 12 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,27 @@
"dompdf/dompdf": "^2.0",
"enshrined/svg-sanitize": "^0.16.0",
"guzzlehttp/guzzle": "^7.0.1",
"ilestis/kanka-dnd5e-monster": "^4.2",
"ilestis/kanka-dnd5e-monster": "^5.0",
"intervention/image": "^2.4",
"kalnoy/nestedset": "^6.0",
"laravel/cashier": "^14.0",
"laravel/framework": "^9.0",
"laravel/passport": "^10.0",
"laravel/framework": "^10.0",
"laravel/passport": "^11.0",
"laravel/socialite": "^5.0",
"laravel/ui": "^3.0",
"laravel/ui": "^4.2.1",
"laravelcollective/html": "^6.0",
"league/flysystem-aws-s3-v3": "^3.5",
"mcamara/laravel-localization": "^1.7",
"orhanerday/open-ai": "^4.7",
"owlchester/laravel-translation-manager": "^9.0",
"owlchester/laravel-translation-manager": "^10.0",
"pragmarx/google2fa-laravel": "^2.0",
"predis/predis": "^1.1",
"richan-fongdasen/eloquent-blameable": "^1.6",
"sentry/sentry-laravel": "^3.2",
"sergej-kurakin/diceroller": "^2.0",
"spatie/laravel-backup": "^8.0",
"spatie/laravel-feed": "^4.0",
"spatie/laravel-newsletter": "^4.8",
"spatie/laravel-newsletter": "^5.1.1",
"stevebauman/purify": "5.1.1",
"symfony/http-client": "^6.1",
"symfony/mailgun-mailer": "^6.1"
Expand All @@ -51,10 +51,10 @@
"laravel/sail": "^1.14",
"mockery/mockery": "^1.4.4",
"nunomaduro/larastan": "^2.2",
"pestphp/pest": "^1.21",
"pestphp/pest-plugin-laravel": "^1.3",
"phpunit/phpunit": "^9.5.10",
"spatie/laravel-ignition": "^1.5",
"nunomaduro/collision": "^7.0",
"pestphp/pest": "^2.0",
"pestphp/pest-plugin-laravel": "^2.0",
"spatie/laravel-ignition": "^2.0",
"squizlabs/php_codesniffer": "^3.4"
},
"autoload": {
Expand Down Expand Up @@ -94,7 +94,8 @@
"sort-packages": true,
"optimize-autoloader": true,
"allow-plugins": {
"pestphp/pest-plugin": true
"pestphp/pest-plugin": true,
"php-http/discovery": true
}
}
}
Loading

0 comments on commit 62e1dd8

Please sign in to comment.