Upgrade to laravel 10.1.1

This commit is contained in:
Kevin MacMartin 2023-05-05 15:31:58 -04:00
parent 7b628dee90
commit f5b83ce994
12 changed files with 224 additions and 191 deletions

View file

@ -1 +1 @@
22df611a2fe1e95e262643382d583ee0dbbca360 ec38e3bf7618cda1b44c79f907590d4f97749d96

View file

@ -8,25 +8,7 @@ use Throwable;
class Handler extends ExceptionHandler class Handler extends ExceptionHandler
{ {
/** /**
* A list of exception types with their corresponding custom log levels. * The list of the inputs that are never flashed to the session on validation exceptions.
*
* @var array<class-string<\Throwable>, \Psr\Log\LogLevel::*>
*/
protected $levels = [
//
];
/**
* A list of the exception types that are not reported.
*
* @var array<int, class-string<\Throwable>>
*/
protected $dontReport = [
//
];
/**
* A list of the inputs that are never flashed to the session on validation exceptions.
* *
* @var array<int, string> * @var array<int, string>
*/ */

View file

@ -48,7 +48,7 @@ class Kernel extends HttpKernel
/** /**
* The application's middleware aliases. * The application's middleware aliases.
* *
* Aliases may be used to conveniently assign middleware to routes and groups. * Aliases may be used instead of class names to conveniently assign middleware to routes and groups.
* *
* @var array<string, class-string|string> * @var array<string, class-string|string>
*/ */

View file

@ -13,7 +13,7 @@ class AuthServiceProvider extends ServiceProvider
* @var array<class-string, class-string> * @var array<class-string, class-string>
*/ */
protected $policies = [ protected $policies = [
// 'App\Models\Model' => 'App\Policies\ModelPolicy', //
]; ];
/** /**

View file

@ -11,7 +11,7 @@ use Illuminate\Support\Facades\Route;
class RouteServiceProvider extends ServiceProvider class RouteServiceProvider extends ServiceProvider
{ {
/** /**
* The path to the "home" route for your application. * The path to your application's "home" route.
* *
* Typically, users are redirected here after authentication. * Typically, users are redirected here after authentication.
* *
@ -24,7 +24,9 @@ class RouteServiceProvider extends ServiceProvider
*/ */
public function boot(): void public function boot(): void
{ {
$this->configureRateLimiting(); RateLimiter::for('api', function (Request $request) {
return Limit::perMinute(60)->by($request->user()?->id ?: $request->ip());
});
$this->routes(function () { $this->routes(function () {
Route::middleware('api') Route::middleware('api')
@ -35,14 +37,4 @@ class RouteServiceProvider extends ServiceProvider
->group(base_path('routes/web.php')); ->group(base_path('routes/web.php'));
}); });
} }
/**
* Configure the rate limiters for the application.
*/
protected function configureRateLimiting(): void
{
RateLimiter::for('api', function (Request $request) {
return Limit::perMinute(60)->by($request->user()?->id ?: $request->ip());
});
}
} }

View file

@ -10,7 +10,7 @@
"erusev/parsedown": "^1.7.4", "erusev/parsedown": "^1.7.4",
"guzzlehttp/guzzle": "^7.2", "guzzlehttp/guzzle": "^7.2",
"intervention/image": "^2.7.2", "intervention/image": "^2.7.2",
"laravel/framework": "^10.0", "laravel/framework": "^10.8",
"laravel/helpers": "^1.6", "laravel/helpers": "^1.6",
"laravel/sanctum": "^3.2", "laravel/sanctum": "^3.2",
"laravel/tinker": "^2.8", "laravel/tinker": "^2.8",
@ -24,7 +24,7 @@
"laravel/sail": "^1.18", "laravel/sail": "^1.18",
"mockery/mockery": "^1.4.4", "mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^7.0", "nunomaduro/collision": "^7.0",
"phpunit/phpunit": "^10.0", "phpunit/phpunit": "^10.1",
"spatie/laravel-ignition": "^2.0" "spatie/laravel-ignition": "^2.0"
}, },
"autoload": { "autoload": {

306
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "11cfb413981fd0652b0b2e02da5dd4dd", "content-hash": "f5982b7f6e5e59bd1de441034c25a6ac",
"packages": [ "packages": [
{ {
"name": "brick/math", "name": "brick/math",
@ -1513,16 +1513,16 @@
}, },
{ {
"name": "laravel/framework", "name": "laravel/framework",
"version": "v10.8.0", "version": "v10.9.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/framework.git", "url": "https://github.com/laravel/framework.git",
"reference": "317d7ccaeb1bbf4ac3035efe225ef2746c45f3a8" "reference": "35078125f61ef0b125edf524de934f108d4b47fd"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/317d7ccaeb1bbf4ac3035efe225ef2746c45f3a8", "url": "https://api.github.com/repos/laravel/framework/zipball/35078125f61ef0b125edf524de934f108d4b47fd",
"reference": "317d7ccaeb1bbf4ac3035efe225ef2746c45f3a8", "reference": "35078125f61ef0b125edf524de934f108d4b47fd",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1709,7 +1709,7 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2023-04-18T13:45:33+00:00" "time": "2023-04-25T13:47:18+00:00"
}, },
{ {
"name": "laravel/helpers", "name": "laravel/helpers",
@ -1769,16 +1769,16 @@
}, },
{ {
"name": "laravel/sanctum", "name": "laravel/sanctum",
"version": "v3.2.1", "version": "v3.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/sanctum.git", "url": "https://github.com/laravel/sanctum.git",
"reference": "d09d69bac55708fcd4a3b305d760e673d888baf9" "reference": "8ebda85d59d3c414863a7f4d816ef8302faad876"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/sanctum/zipball/d09d69bac55708fcd4a3b305d760e673d888baf9", "url": "https://api.github.com/repos/laravel/sanctum/zipball/8ebda85d59d3c414863a7f4d816ef8302faad876",
"reference": "d09d69bac55708fcd4a3b305d760e673d888baf9", "reference": "8ebda85d59d3c414863a7f4d816ef8302faad876",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1792,6 +1792,7 @@
"require-dev": { "require-dev": {
"mockery/mockery": "^1.0", "mockery/mockery": "^1.0",
"orchestra/testbench": "^7.0|^8.0", "orchestra/testbench": "^7.0|^8.0",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.3" "phpunit/phpunit": "^9.3"
}, },
"type": "library", "type": "library",
@ -1830,7 +1831,7 @@
"issues": "https://github.com/laravel/sanctum/issues", "issues": "https://github.com/laravel/sanctum/issues",
"source": "https://github.com/laravel/sanctum" "source": "https://github.com/laravel/sanctum"
}, },
"time": "2023-01-13T15:41:49+00:00" "time": "2023-05-01T19:39:51+00:00"
}, },
{ {
"name": "laravel/serializable-closure", "name": "laravel/serializable-closure",
@ -2212,19 +2213,20 @@
}, },
{ {
"name": "league/flysystem", "name": "league/flysystem",
"version": "3.14.0", "version": "3.15.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/flysystem.git", "url": "https://github.com/thephpleague/flysystem.git",
"reference": "e2a279d7f47d9098e479e8b21f7fb8b8de230158" "reference": "a141d430414fcb8bf797a18716b09f759a385bed"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/e2a279d7f47d9098e479e8b21f7fb8b8de230158", "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/a141d430414fcb8bf797a18716b09f759a385bed",
"reference": "e2a279d7f47d9098e479e8b21f7fb8b8de230158", "reference": "a141d430414fcb8bf797a18716b09f759a385bed",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"league/flysystem-local": "^3.0.0",
"league/mime-type-detection": "^1.0.0", "league/mime-type-detection": "^1.0.0",
"php": "^8.0.2" "php": "^8.0.2"
}, },
@ -2283,7 +2285,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/thephpleague/flysystem/issues", "issues": "https://github.com/thephpleague/flysystem/issues",
"source": "https://github.com/thephpleague/flysystem/tree/3.14.0" "source": "https://github.com/thephpleague/flysystem/tree/3.15.1"
}, },
"funding": [ "funding": [
{ {
@ -2295,7 +2297,67 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-04-11T18:11:47+00:00" "time": "2023-05-04T09:04:26+00:00"
},
{
"name": "league/flysystem-local",
"version": "3.15.0",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem-local.git",
"reference": "543f64c397fefdf9cfeac443ffb6beff602796b3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/543f64c397fefdf9cfeac443ffb6beff602796b3",
"reference": "543f64c397fefdf9cfeac443ffb6beff602796b3",
"shasum": ""
},
"require": {
"ext-fileinfo": "*",
"league/flysystem": "^3.0.0",
"league/mime-type-detection": "^1.0.0",
"php": "^8.0.2"
},
"type": "library",
"autoload": {
"psr-4": {
"League\\Flysystem\\Local\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Frank de Jonge",
"email": "info@frankdejonge.nl"
}
],
"description": "Local filesystem adapter for Flysystem.",
"keywords": [
"Flysystem",
"file",
"files",
"filesystem",
"local"
],
"support": {
"issues": "https://github.com/thephpleague/flysystem-local/issues",
"source": "https://github.com/thephpleague/flysystem-local/tree/3.15.0"
},
"funding": [
{
"url": "https://ecologi.com/frankdejonge",
"type": "custom"
},
{
"url": "https://github.com/frankdejonge",
"type": "github"
}
],
"time": "2023-05-02T20:02:14+00:00"
}, },
{ {
"name": "league/mime-type-detection", "name": "league/mime-type-detection",
@ -3690,16 +3752,16 @@
}, },
{ {
"name": "psy/psysh", "name": "psy/psysh",
"version": "v0.11.15", "version": "v0.11.16",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/bobthecow/psysh.git", "url": "https://github.com/bobthecow/psysh.git",
"reference": "5350ce0ec8ecf2c5b5cf554cd2496f97b444af85" "reference": "151b145906804eea8e5d71fea23bfb470c904bfb"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/5350ce0ec8ecf2c5b5cf554cd2496f97b444af85", "url": "https://api.github.com/repos/bobthecow/psysh/zipball/151b145906804eea8e5d71fea23bfb470c904bfb",
"reference": "5350ce0ec8ecf2c5b5cf554cd2496f97b444af85", "reference": "151b145906804eea8e5d71fea23bfb470c904bfb",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3760,9 +3822,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/bobthecow/psysh/issues", "issues": "https://github.com/bobthecow/psysh/issues",
"source": "https://github.com/bobthecow/psysh/tree/v0.11.15" "source": "https://github.com/bobthecow/psysh/tree/v0.11.16"
}, },
"time": "2023-04-07T21:57:09+00:00" "time": "2023-04-26T12:53:57+00:00"
}, },
{ {
"name": "ralouphie/getallheaders", "name": "ralouphie/getallheaders",
@ -4072,16 +4134,16 @@
}, },
{ {
"name": "spatie/laravel-package-tools", "name": "spatie/laravel-package-tools",
"version": "1.14.2", "version": "1.15.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/spatie/laravel-package-tools.git", "url": "https://github.com/spatie/laravel-package-tools.git",
"reference": "bab62023a4745a61170ad5424184533685e73c2d" "reference": "efab1844b8826443135201c4443690f032c3d533"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/bab62023a4745a61170ad5424184533685e73c2d", "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/efab1844b8826443135201c4443690f032c3d533",
"reference": "bab62023a4745a61170ad5424184533685e73c2d", "reference": "efab1844b8826443135201c4443690f032c3d533",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4120,7 +4182,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/spatie/laravel-package-tools/issues", "issues": "https://github.com/spatie/laravel-package-tools/issues",
"source": "https://github.com/spatie/laravel-package-tools/tree/1.14.2" "source": "https://github.com/spatie/laravel-package-tools/tree/1.15.0"
}, },
"funding": [ "funding": [
{ {
@ -4128,20 +4190,20 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-03-14T16:41:21+00:00" "time": "2023-04-27T08:09:01+00:00"
}, },
{ {
"name": "symfony/console", "name": "symfony/console",
"version": "v6.2.8", "version": "v6.2.10",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/console.git", "url": "https://github.com/symfony/console.git",
"reference": "3582d68a64a86ec25240aaa521ec8bc2342b369b" "reference": "12288d9f4500f84a4d02254d4aa968b15488476f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/3582d68a64a86ec25240aaa521ec8bc2342b369b", "url": "https://api.github.com/repos/symfony/console/zipball/12288d9f4500f84a4d02254d4aa968b15488476f",
"reference": "3582d68a64a86ec25240aaa521ec8bc2342b369b", "reference": "12288d9f4500f84a4d02254d4aa968b15488476f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4208,7 +4270,7 @@
"terminal" "terminal"
], ],
"support": { "support": {
"source": "https://github.com/symfony/console/tree/v6.2.8" "source": "https://github.com/symfony/console/tree/v6.2.10"
}, },
"funding": [ "funding": [
{ {
@ -4224,7 +4286,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-03-29T21:42:15+00:00" "time": "2023-04-28T13:37:43+00:00"
}, },
{ {
"name": "symfony/css-selector", "name": "symfony/css-selector",
@ -4360,16 +4422,16 @@
}, },
{ {
"name": "symfony/error-handler", "name": "symfony/error-handler",
"version": "v6.2.9", "version": "v6.2.10",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/error-handler.git", "url": "https://github.com/symfony/error-handler.git",
"reference": "e95f1273b3953c3b5e5341172dae838bacee11ee" "reference": "8b7e9f124640cb0611624a9383176c3e5f7d8cfb"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/error-handler/zipball/e95f1273b3953c3b5e5341172dae838bacee11ee", "url": "https://api.github.com/repos/symfony/error-handler/zipball/8b7e9f124640cb0611624a9383176c3e5f7d8cfb",
"reference": "e95f1273b3953c3b5e5341172dae838bacee11ee", "reference": "8b7e9f124640cb0611624a9383176c3e5f7d8cfb",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4411,7 +4473,7 @@
"description": "Provides tools to manage errors and ease debugging PHP code", "description": "Provides tools to manage errors and ease debugging PHP code",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/error-handler/tree/v6.2.9" "source": "https://github.com/symfony/error-handler/tree/v6.2.10"
}, },
"funding": [ "funding": [
{ {
@ -4427,7 +4489,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-04-11T16:03:19+00:00" "time": "2023-04-18T13:46:08+00:00"
}, },
{ {
"name": "symfony/event-dispatcher", "name": "symfony/event-dispatcher",
@ -4657,16 +4719,16 @@
}, },
{ {
"name": "symfony/http-foundation", "name": "symfony/http-foundation",
"version": "v6.2.8", "version": "v6.2.10",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-foundation.git", "url": "https://github.com/symfony/http-foundation.git",
"reference": "511a524affeefc191939348823ac75e9921c2112" "reference": "49adbb92bcb4e3c2943719d2756271e8b9602acc"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/511a524affeefc191939348823ac75e9921c2112", "url": "https://api.github.com/repos/symfony/http-foundation/zipball/49adbb92bcb4e3c2943719d2756271e8b9602acc",
"reference": "511a524affeefc191939348823ac75e9921c2112", "reference": "49adbb92bcb4e3c2943719d2756271e8b9602acc",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4715,7 +4777,7 @@
"description": "Defines an object-oriented layer for the HTTP specification", "description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/http-foundation/tree/v6.2.8" "source": "https://github.com/symfony/http-foundation/tree/v6.2.10"
}, },
"funding": [ "funding": [
{ {
@ -4731,20 +4793,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-03-29T21:42:15+00:00" "time": "2023-04-18T13:46:08+00:00"
}, },
{ {
"name": "symfony/http-kernel", "name": "symfony/http-kernel",
"version": "v6.2.9", "version": "v6.2.10",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-kernel.git", "url": "https://github.com/symfony/http-kernel.git",
"reference": "02246510cf7031726f7237138d61b796b95799b3" "reference": "81064a65a5496f17d2b6984f6519406f98864215"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/02246510cf7031726f7237138d61b796b95799b3", "url": "https://api.github.com/repos/symfony/http-kernel/zipball/81064a65a5496f17d2b6984f6519406f98864215",
"reference": "02246510cf7031726f7237138d61b796b95799b3", "reference": "81064a65a5496f17d2b6984f6519406f98864215",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4826,7 +4888,7 @@
"description": "Provides a structured process for converting a Request into a Response", "description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/http-kernel/tree/v6.2.9" "source": "https://github.com/symfony/http-kernel/tree/v6.2.10"
}, },
"funding": [ "funding": [
{ {
@ -4842,7 +4904,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-04-13T16:41:43+00:00" "time": "2023-04-28T13:50:28+00:00"
}, },
{ {
"name": "symfony/mailer", "name": "symfony/mailer",
@ -4925,16 +4987,16 @@
}, },
{ {
"name": "symfony/mime", "name": "symfony/mime",
"version": "v6.2.7", "version": "v6.2.10",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/mime.git", "url": "https://github.com/symfony/mime.git",
"reference": "62e341f80699badb0ad70b31149c8df89a2d778e" "reference": "b6c137fc53a9f7c4c951cd3f362b3734c7a97723"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/mime/zipball/62e341f80699badb0ad70b31149c8df89a2d778e", "url": "https://api.github.com/repos/symfony/mime/zipball/b6c137fc53a9f7c4c951cd3f362b3734c7a97723",
"reference": "62e341f80699badb0ad70b31149c8df89a2d778e", "reference": "b6c137fc53a9f7c4c951cd3f362b3734c7a97723",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4988,7 +5050,7 @@
"mime-type" "mime-type"
], ],
"support": { "support": {
"source": "https://github.com/symfony/mime/tree/v6.2.7" "source": "https://github.com/symfony/mime/tree/v6.2.10"
}, },
"funding": [ "funding": [
{ {
@ -5004,7 +5066,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-02-24T10:42:00+00:00" "time": "2023-04-19T09:54:16+00:00"
}, },
{ {
"name": "symfony/polyfill-ctype", "name": "symfony/polyfill-ctype",
@ -5666,16 +5728,16 @@
}, },
{ {
"name": "symfony/process", "name": "symfony/process",
"version": "v6.2.8", "version": "v6.2.10",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/process.git", "url": "https://github.com/symfony/process.git",
"reference": "75ed64103df4f6615e15a7fe38b8111099f47416" "reference": "b34cdbc9c5e75d45a3703e63a48ad07aafa8bf2e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/75ed64103df4f6615e15a7fe38b8111099f47416", "url": "https://api.github.com/repos/symfony/process/zipball/b34cdbc9c5e75d45a3703e63a48ad07aafa8bf2e",
"reference": "75ed64103df4f6615e15a7fe38b8111099f47416", "reference": "b34cdbc9c5e75d45a3703e63a48ad07aafa8bf2e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5707,7 +5769,7 @@
"description": "Executes commands in sub-processes", "description": "Executes commands in sub-processes",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/process/tree/v6.2.8" "source": "https://github.com/symfony/process/tree/v6.2.10"
}, },
"funding": [ "funding": [
{ {
@ -5723,7 +5785,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-03-09T16:20:02+00:00" "time": "2023-04-18T13:56:57+00:00"
}, },
{ {
"name": "symfony/routing", "name": "symfony/routing",
@ -6239,16 +6301,16 @@
}, },
{ {
"name": "symfony/var-dumper", "name": "symfony/var-dumper",
"version": "v6.2.8", "version": "v6.2.10",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/var-dumper.git", "url": "https://github.com/symfony/var-dumper.git",
"reference": "d37ab6787be2db993747b6218fcc96e8e3bb4bd0" "reference": "41a750a23412ca76fdbbf5096943b4134272c1ab"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/d37ab6787be2db993747b6218fcc96e8e3bb4bd0", "url": "https://api.github.com/repos/symfony/var-dumper/zipball/41a750a23412ca76fdbbf5096943b4134272c1ab",
"reference": "d37ab6787be2db993747b6218fcc96e8e3bb4bd0", "reference": "41a750a23412ca76fdbbf5096943b4134272c1ab",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6307,7 +6369,7 @@
"dump" "dump"
], ],
"support": { "support": {
"source": "https://github.com/symfony/var-dumper/tree/v6.2.8" "source": "https://github.com/symfony/var-dumper/tree/v6.2.10"
}, },
"funding": [ "funding": [
{ {
@ -6323,7 +6385,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-03-29T21:42:15+00:00" "time": "2023-04-18T13:46:08+00:00"
}, },
{ {
"name": "tijsverkoyen/css-to-inline-styles", "name": "tijsverkoyen/css-to-inline-styles",
@ -6788,16 +6850,16 @@
}, },
{ {
"name": "laravel/pint", "name": "laravel/pint",
"version": "v1.9.0", "version": "v1.10.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/pint.git", "url": "https://github.com/laravel/pint.git",
"reference": "eac5ec3d6b5c96543c682e309a10fdddc9f61d80" "reference": "c7a01fa9bdd79819e7a2f1ba63ac1b02e6692dbc"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/pint/zipball/eac5ec3d6b5c96543c682e309a10fdddc9f61d80", "url": "https://api.github.com/repos/laravel/pint/zipball/c7a01fa9bdd79819e7a2f1ba63ac1b02e6692dbc",
"reference": "eac5ec3d6b5c96543c682e309a10fdddc9f61d80", "reference": "c7a01fa9bdd79819e7a2f1ba63ac1b02e6692dbc",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6850,20 +6912,20 @@
"issues": "https://github.com/laravel/pint/issues", "issues": "https://github.com/laravel/pint/issues",
"source": "https://github.com/laravel/pint" "source": "https://github.com/laravel/pint"
}, },
"time": "2023-04-18T14:50:44+00:00" "time": "2023-04-25T14:52:30+00:00"
}, },
{ {
"name": "laravel/sail", "name": "laravel/sail",
"version": "v1.21.4", "version": "v1.21.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/sail.git", "url": "https://github.com/laravel/sail.git",
"reference": "5e59b4a57181020477e2b18943b27493638e3f89" "reference": "27af207bb1c53faddcba34c7528b3e969f6a646d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/sail/zipball/5e59b4a57181020477e2b18943b27493638e3f89", "url": "https://api.github.com/repos/laravel/sail/zipball/27af207bb1c53faddcba34c7528b3e969f6a646d",
"reference": "5e59b4a57181020477e2b18943b27493638e3f89", "reference": "27af207bb1c53faddcba34c7528b3e969f6a646d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6915,7 +6977,7 @@
"issues": "https://github.com/laravel/sail/issues", "issues": "https://github.com/laravel/sail/issues",
"source": "https://github.com/laravel/sail" "source": "https://github.com/laravel/sail"
}, },
"time": "2023-03-30T12:28:55+00:00" "time": "2023-04-24T13:29:38+00:00"
}, },
{ {
"name": "mockery/mockery", "name": "mockery/mockery",
@ -7050,16 +7112,16 @@
}, },
{ {
"name": "nunomaduro/collision", "name": "nunomaduro/collision",
"version": "v7.5.0", "version": "v7.5.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nunomaduro/collision.git", "url": "https://github.com/nunomaduro/collision.git",
"reference": "bbbc6fb9c1ee88f8aa38e47abd15c465f946f85e" "reference": "76b3cabda0aabda455fc3b9db6c3615f5a87c7ff"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nunomaduro/collision/zipball/bbbc6fb9c1ee88f8aa38e47abd15c465f946f85e", "url": "https://api.github.com/repos/nunomaduro/collision/zipball/76b3cabda0aabda455fc3b9db6c3615f5a87c7ff",
"reference": "bbbc6fb9c1ee88f8aa38e47abd15c465f946f85e", "reference": "76b3cabda0aabda455fc3b9db6c3615f5a87c7ff",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -7069,19 +7131,19 @@
"symfony/console": "^6.2.8" "symfony/console": "^6.2.8"
}, },
"conflict": { "conflict": {
"phpunit/phpunit": "<10.1.0" "phpunit/phpunit": "<10.1.2"
}, },
"require-dev": { "require-dev": {
"brianium/paratest": "^7.1.3", "brianium/paratest": "^7.1.3",
"laravel/framework": "^10.7.1", "laravel/framework": "^10.8.0",
"laravel/pint": "^1.8.0", "laravel/pint": "^1.9.0",
"laravel/sail": "^1.21.4", "laravel/sail": "^1.21.4",
"laravel/sanctum": "^3.2.1", "laravel/sanctum": "^3.2.1",
"laravel/tinker": "^2.8.1", "laravel/tinker": "^2.8.1",
"nunomaduro/larastan": "^2.5.1", "nunomaduro/larastan": "^2.6.0",
"orchestra/testbench-core": "^8.4.2", "orchestra/testbench-core": "^8.5.0",
"pestphp/pest": "^2.5.0", "pestphp/pest": "^2.5.2",
"phpunit/phpunit": "^10.1.0", "phpunit/phpunit": "^10.1.1",
"sebastian/environment": "^6.0.1", "sebastian/environment": "^6.0.1",
"spatie/laravel-ignition": "^2.1.0" "spatie/laravel-ignition": "^2.1.0"
}, },
@ -7142,7 +7204,7 @@
"type": "patreon" "type": "patreon"
} }
], ],
"time": "2023-04-14T10:39:16+00:00" "time": "2023-04-22T22:12:40+00:00"
}, },
{ {
"name": "phar-io/manifest", "name": "phar-io/manifest",
@ -7576,16 +7638,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "10.1.1", "version": "10.1.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "0d9401b7e8245d71079e249e3cb868e9d2337887" "reference": "6f0cd95be71add539f8fd2be25b2a4a29789000b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0d9401b7e8245d71079e249e3cb868e9d2337887", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/6f0cd95be71add539f8fd2be25b2a4a29789000b",
"reference": "0d9401b7e8245d71079e249e3cb868e9d2337887", "reference": "6f0cd95be71add539f8fd2be25b2a4a29789000b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -7657,7 +7719,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues", "issues": "https://github.com/sebastianbergmann/phpunit/issues",
"security": "https://github.com/sebastianbergmann/phpunit/security/policy", "security": "https://github.com/sebastianbergmann/phpunit/security/policy",
"source": "https://github.com/sebastianbergmann/phpunit/tree/10.1.1" "source": "https://github.com/sebastianbergmann/phpunit/tree/10.1.2"
}, },
"funding": [ "funding": [
{ {
@ -7673,7 +7735,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-04-17T12:17:05+00:00" "time": "2023-04-22T07:38:19+00:00"
}, },
{ {
"name": "sebastian/cli-parser", "name": "sebastian/cli-parser",
@ -7977,16 +8039,16 @@
}, },
{ {
"name": "sebastian/diff", "name": "sebastian/diff",
"version": "5.0.1", "version": "5.0.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/diff.git", "url": "https://github.com/sebastianbergmann/diff.git",
"reference": "aae9a0a43bff37bd5d8d0311426c87bf36153f02" "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/aae9a0a43bff37bd5d8d0311426c87bf36153f02", "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/912dc2fbe3e3c1e7873313cc801b100b6c68c87b",
"reference": "aae9a0a43bff37bd5d8d0311426c87bf36153f02", "reference": "912dc2fbe3e3c1e7873313cc801b100b6c68c87b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -8032,7 +8094,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/diff/issues", "issues": "https://github.com/sebastianbergmann/diff/issues",
"security": "https://github.com/sebastianbergmann/diff/security/policy", "security": "https://github.com/sebastianbergmann/diff/security/policy",
"source": "https://github.com/sebastianbergmann/diff/tree/5.0.1" "source": "https://github.com/sebastianbergmann/diff/tree/5.0.3"
}, },
"funding": [ "funding": [
{ {
@ -8040,7 +8102,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-03-23T05:12:41+00:00" "time": "2023-05-01T07:48:21+00:00"
}, },
{ {
"name": "sebastian/environment", "name": "sebastian/environment",
@ -8718,16 +8780,16 @@
}, },
{ {
"name": "spatie/ignition", "name": "spatie/ignition",
"version": "1.5.0", "version": "1.7.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/spatie/ignition.git", "url": "https://github.com/spatie/ignition.git",
"reference": "4db9c9626e4d7745efbe0b512157326190b41b65" "reference": "f747d83c6d7cb6229b462f3ddbb3a82dc0db0f78"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/spatie/ignition/zipball/4db9c9626e4d7745efbe0b512157326190b41b65", "url": "https://api.github.com/repos/spatie/ignition/zipball/f747d83c6d7cb6229b462f3ddbb3a82dc0db0f78",
"reference": "4db9c9626e4d7745efbe0b512157326190b41b65", "reference": "f747d83c6d7cb6229b462f3ddbb3a82dc0db0f78",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -8758,7 +8820,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-main": "1.4.x-dev" "dev-main": "1.5.x-dev"
} }
}, },
"autoload": { "autoload": {
@ -8797,20 +8859,20 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-04-12T09:07:50+00:00" "time": "2023-05-04T13:20:26+00:00"
}, },
{ {
"name": "spatie/laravel-ignition", "name": "spatie/laravel-ignition",
"version": "2.1.0", "version": "2.1.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/spatie/laravel-ignition.git", "url": "https://github.com/spatie/laravel-ignition.git",
"reference": "3718dfb91bc5aff340af26507a61f0f9605f81e8" "reference": "802c7e27754456e45134f1a9d29ab7df4b6cb9e4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/3718dfb91bc5aff340af26507a61f0f9605f81e8", "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/802c7e27754456e45134f1a9d29ab7df4b6cb9e4",
"reference": "3718dfb91bc5aff340af26507a61f0f9605f81e8", "reference": "802c7e27754456e45134f1a9d29ab7df4b6cb9e4",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -8889,20 +8951,20 @@
"type": "github" "type": "github"
} }
], ],
"time": "2023-04-12T09:26:00+00:00" "time": "2023-05-04T13:54:49+00:00"
}, },
{ {
"name": "symfony/yaml", "name": "symfony/yaml",
"version": "v6.2.7", "version": "v6.2.10",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/yaml.git", "url": "https://github.com/symfony/yaml.git",
"reference": "e8e6a1d59e050525f27a1f530aa9703423cb7f57" "reference": "61916f3861b1e9705b18cfde723921a71dd1559d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/e8e6a1d59e050525f27a1f530aa9703423cb7f57", "url": "https://api.github.com/repos/symfony/yaml/zipball/61916f3861b1e9705b18cfde723921a71dd1559d",
"reference": "e8e6a1d59e050525f27a1f530aa9703423cb7f57", "reference": "61916f3861b1e9705b18cfde723921a71dd1559d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -8947,7 +9009,7 @@
"description": "Loads and dumps YAML files", "description": "Loads and dumps YAML files",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/yaml/tree/v6.2.7" "source": "https://github.com/symfony/yaml/tree/v6.2.10"
}, },
"funding": [ "funding": [
{ {
@ -8963,7 +9025,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-02-16T09:57:23+00:00" "time": "2023-04-28T13:25:36+00:00"
}, },
{ {
"name": "theseer/tokenizer", "name": "theseer/tokenizer",

View file

@ -1,6 +1,7 @@
<?php <?php
use Illuminate\Support\Facades\Facade; use Illuminate\Support\Facades\Facade;
use Illuminate\Support\ServiceProvider;
return [ return [
@ -154,34 +155,7 @@ return [
| |
*/ */
'providers' => [ 'providers' => ServiceProvider::defaultProviders()->merge([
/*
* Laravel Framework Service Providers...
*/
Illuminate\Auth\AuthServiceProvider::class,
Illuminate\Broadcasting\BroadcastServiceProvider::class,
Illuminate\Bus\BusServiceProvider::class,
Illuminate\Cache\CacheServiceProvider::class,
Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
Illuminate\Cookie\CookieServiceProvider::class,
Illuminate\Database\DatabaseServiceProvider::class,
Illuminate\Encryption\EncryptionServiceProvider::class,
Illuminate\Filesystem\FilesystemServiceProvider::class,
Illuminate\Foundation\Providers\FoundationServiceProvider::class,
Illuminate\Hashing\HashServiceProvider::class,
Illuminate\Mail\MailServiceProvider::class,
Illuminate\Notifications\NotificationServiceProvider::class,
Illuminate\Pagination\PaginationServiceProvider::class,
Illuminate\Pipeline\PipelineServiceProvider::class,
Illuminate\Queue\QueueServiceProvider::class,
Illuminate\Redis\RedisServiceProvider::class,
Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
Illuminate\Session\SessionServiceProvider::class,
Illuminate\Translation\TranslationServiceProvider::class,
Illuminate\Validation\ValidationServiceProvider::class,
Illuminate\View\ViewServiceProvider::class,
/* /*
* Package Service Providers... * Package Service Providers...
*/ */
@ -200,8 +174,7 @@ return [
*/ */
Spatie\Newsletter\NewsletterServiceProvider::class, Spatie\Newsletter\NewsletterServiceProvider::class,
Intervention\Image\ImageServiceProvider::class, Intervention\Image\ImageServiceProvider::class,
])->toArray(),
],
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------

View file

@ -3,6 +3,7 @@
use Monolog\Handler\NullHandler; use Monolog\Handler\NullHandler;
use Monolog\Handler\StreamHandler; use Monolog\Handler\StreamHandler;
use Monolog\Handler\SyslogUdpHandler; use Monolog\Handler\SyslogUdpHandler;
use Monolog\Processor\PsrLogMessageProcessor;
return [ return [
@ -61,6 +62,7 @@ return [
'driver' => 'single', 'driver' => 'single',
'path' => storage_path('logs/laravel.log'), 'path' => storage_path('logs/laravel.log'),
'level' => env('LOG_LEVEL', 'debug'), 'level' => env('LOG_LEVEL', 'debug'),
'replace_placeholders' => true,
], ],
'daily' => [ 'daily' => [
@ -68,6 +70,7 @@ return [
'path' => storage_path('logs/laravel.log'), 'path' => storage_path('logs/laravel.log'),
'level' => env('LOG_LEVEL', 'debug'), 'level' => env('LOG_LEVEL', 'debug'),
'days' => 14, 'days' => 14,
'replace_placeholders' => true,
], ],
'slack' => [ 'slack' => [
@ -76,6 +79,7 @@ return [
'username' => 'Laravel Log', 'username' => 'Laravel Log',
'emoji' => ':boom:', 'emoji' => ':boom:',
'level' => env('LOG_LEVEL', 'critical'), 'level' => env('LOG_LEVEL', 'critical'),
'replace_placeholders' => true,
], ],
'papertrail' => [ 'papertrail' => [
@ -87,6 +91,7 @@ return [
'port' => env('PAPERTRAIL_PORT'), 'port' => env('PAPERTRAIL_PORT'),
'connectionString' => 'tls://'.env('PAPERTRAIL_URL').':'.env('PAPERTRAIL_PORT'), 'connectionString' => 'tls://'.env('PAPERTRAIL_URL').':'.env('PAPERTRAIL_PORT'),
], ],
'processors' => [PsrLogMessageProcessor::class],
], ],
'stderr' => [ 'stderr' => [
@ -97,17 +102,20 @@ return [
'with' => [ 'with' => [
'stream' => 'php://stderr', 'stream' => 'php://stderr',
], ],
'processors' => [PsrLogMessageProcessor::class],
], ],
'syslog' => [ 'syslog' => [
'driver' => 'syslog', 'driver' => 'syslog',
'level' => env('LOG_LEVEL', 'debug'), 'level' => env('LOG_LEVEL', 'debug'),
'facility' => LOG_USER, 'facility' => LOG_USER,
'replace_placeholders' => true,
], ],
'errorlog' => [ 'errorlog' => [
'driver' => 'errorlog', 'driver' => 'errorlog',
'level' => env('LOG_LEVEL', 'debug'), 'level' => env('LOG_LEVEL', 'debug'),
'replace_placeholders' => true,
], ],
'null' => [ 'null' => [

View file

@ -73,6 +73,22 @@ return [
], ],
/*
|--------------------------------------------------------------------------
| Job Batching
|--------------------------------------------------------------------------
|
| The following options configure the database and table that store job
| batching information. These options can be updated to any database
| connection and table which has been defined by your application.
|
*/
'batching' => [
'database' => env('DB_CONNECTION', 'mysql'),
'table' => 'job_batches',
],
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Failed Queue Jobs | Failed Queue Jobs

View file

@ -12,11 +12,11 @@
<directory suffix="Test.php">./tests/Feature</directory> <directory suffix="Test.php">./tests/Feature</directory>
</testsuite> </testsuite>
</testsuites> </testsuites>
<coverage> <source>
<include> <include>
<directory suffix=".php">./app</directory> <directory suffix=".php">./app</directory>
</include> </include>
</coverage> </source>
<php> <php>
<env name="APP_ENV" value="testing"/> <env name="APP_ENV" value="testing"/>
<env name="BCRYPT_ROUNDS" value="4"/> <env name="BCRYPT_ROUNDS" value="4"/>

View file

@ -21,7 +21,7 @@ A Hypothetical website template for bootstrapping new projects.
* Gsap * Gsap
* Gulp * Gulp
* Jquery * Jquery
* Laravel 10.0.4 * Laravel 10.1.1
* Sass * Sass
* Vue 3 (Optional) * Vue 3 (Optional)