📦 Updating compiled files or packages.

This commit is contained in:
Wisp X 2022-02-16 15:11:32 +08:00
parent 8c80e70696
commit 4c95073963
5 changed files with 393 additions and 67 deletions

View File

@ -40,7 +40,7 @@ class Kernel extends HttpKernel
],
'api' => [
// \Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class,
\Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class,
'throttle:api',
\Illuminate\Routing\Middleware\SubstituteBindings::class,
],

33
app/Mail/Test.php Normal file
View File

@ -0,0 +1,33 @@
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
class Test extends Mailable
{
use Queueable, SerializesModels;
/**
* Create a new message instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Build the message.
*
* @return $this
*/
public function build()
{
return $this->view('emails.test');
}
}

View File

@ -16,6 +16,8 @@
"league/flysystem-aws-s3-v3": "^3.0",
"league/flysystem-ftp": "^3.0",
"league/flysystem-sftp": "^3.0",
"overtrue/flysystem-cos": "^5.0",
"overtrue/flysystem-qiniu": "^3.0",
"thibaud-dauce/flysystem-webdav": "^0.1.0"
},
"require-dev": {

414
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "cf3a9109fb41494128cac445f82bdce9",
"content-hash": "2a6f1476b71a2ab6a252565c5c2a39c7",
"packages": [
{
"name": "asm89/stack-cors",
@ -126,16 +126,16 @@
},
{
"name": "aws/aws-sdk-php",
"version": "3.209.23",
"version": "3.209.24",
"source": {
"type": "git",
"url": "https://github.com/aws/aws-sdk-php.git",
"reference": "6082f5df05e5c725a44a310649a922b32bbeec54"
"reference": "ce68bfc141863a25f4b870f10cfa996312fb1813"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/6082f5df05e5c725a44a310649a922b32bbeec54",
"reference": "6082f5df05e5c725a44a310649a922b32bbeec54",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/ce68bfc141863a25f4b870f10cfa996312fb1813",
"reference": "ce68bfc141863a25f4b870f10cfa996312fb1813",
"shasum": "",
"mirrors": [
{
@ -217,9 +217,9 @@
"support": {
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
"issues": "https://github.com/aws/aws-sdk-php/issues",
"source": "https://github.com/aws/aws-sdk-php/tree/3.209.23"
"source": "https://github.com/aws/aws-sdk-php/tree/3.209.24"
},
"time": "2022-02-11T19:13:32+00:00"
"time": "2022-02-14T19:15:07+00:00"
},
{
"name": "brick/math",
@ -1276,16 +1276,16 @@
},
{
"name": "laravel/breeze",
"version": "v1.8.0",
"version": "v1.8.1",
"source": {
"type": "git",
"url": "https://github.com/laravel/breeze.git",
"reference": "9680289ab0a9dd7708622dd4626326b07aaeb524"
"reference": "bdd6b8ac4ef7237770b4cb8b741a14e471e890a3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/breeze/zipball/9680289ab0a9dd7708622dd4626326b07aaeb524",
"reference": "9680289ab0a9dd7708622dd4626326b07aaeb524",
"url": "https://api.github.com/repos/laravel/breeze/zipball/bdd6b8ac4ef7237770b4cb8b741a14e471e890a3",
"reference": "bdd6b8ac4ef7237770b4cb8b741a14e471e890a3",
"shasum": "",
"mirrors": [
{
@ -1335,20 +1335,20 @@
"issues": "https://github.com/laravel/breeze/issues",
"source": "https://github.com/laravel/breeze"
},
"time": "2022-02-09T00:14:35+00:00"
"time": "2022-02-15T17:05:22+00:00"
},
{
"name": "laravel/framework",
"version": "v9.0.2",
"version": "v9.1.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
"reference": "4c7cd8c4e95d161c0c6ada6efa0a5af4d0d487c9"
"reference": "ca7ddd4782f120ae50569d04eb9e40e52f67a9d9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/4c7cd8c4e95d161c0c6ada6efa0a5af4d0d487c9",
"reference": "4c7cd8c4e95d161c0c6ada6efa0a5af4d0d487c9",
"url": "https://api.github.com/repos/laravel/framework/zipball/ca7ddd4782f120ae50569d04eb9e40e52f67a9d9",
"reference": "ca7ddd4782f120ae50569d04eb9e40e52f67a9d9",
"shasum": "",
"mirrors": [
{
@ -1442,7 +1442,6 @@
"phpstan/phpstan": "^1.0",
"phpunit/phpunit": "^9.5.8",
"predis/predis": "^1.1.9",
"symfony/amazon-mailer": "^6.0",
"symfony/cache": "^6.0"
},
"suggest": {
@ -1520,20 +1519,20 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
"time": "2022-02-10T15:07:46+00:00"
"time": "2022-02-15T15:06:44+00:00"
},
{
"name": "laravel/sanctum",
"version": "v2.14.0",
"version": "v2.14.1",
"source": {
"type": "git",
"url": "https://github.com/laravel/sanctum.git",
"reference": "0647a87140c7522e75826cffcadb3ad6e01f71e9"
"reference": "89937617fa144ddb759a740861a47c4f2fd2245b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/sanctum/zipball/0647a87140c7522e75826cffcadb3ad6e01f71e9",
"reference": "0647a87140c7522e75826cffcadb3ad6e01f71e9",
"url": "https://api.github.com/repos/laravel/sanctum/zipball/89937617fa144ddb759a740861a47c4f2fd2245b",
"reference": "89937617fa144ddb759a740861a47c4f2fd2245b",
"shasum": "",
"mirrors": [
{
@ -1590,20 +1589,20 @@
"issues": "https://github.com/laravel/sanctum/issues",
"source": "https://github.com/laravel/sanctum"
},
"time": "2022-01-12T15:07:43+00:00"
"time": "2022-02-15T08:08:57+00:00"
},
{
"name": "laravel/serializable-closure",
"version": "v1.1.0",
"version": "v1.1.1",
"source": {
"type": "git",
"url": "https://github.com/laravel/serializable-closure.git",
"reference": "65c9faf50d567b65d81764a44526545689e3fe63"
"reference": "9e4b005daa20b0c161f3845040046dc9ddc1d74e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/serializable-closure/zipball/65c9faf50d567b65d81764a44526545689e3fe63",
"reference": "65c9faf50d567b65d81764a44526545689e3fe63",
"url": "https://api.github.com/repos/laravel/serializable-closure/zipball/9e4b005daa20b0c161f3845040046dc9ddc1d74e",
"reference": "9e4b005daa20b0c161f3845040046dc9ddc1d74e",
"shasum": "",
"mirrors": [
{
@ -1655,7 +1654,7 @@
"issues": "https://github.com/laravel/serializable-closure/issues",
"source": "https://github.com/laravel/serializable-closure"
},
"time": "2022-02-01T16:29:39+00:00"
"time": "2022-02-11T19:23:53+00:00"
},
{
"name": "laravel/tinker",
@ -1931,16 +1930,16 @@
},
{
"name": "league/flysystem",
"version": "3.0.5",
"version": "3.0.7",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem.git",
"reference": "0c82591fd8950d499612ada7104c5eba3191e200"
"reference": "6f60c44080ebcd62ee8bef25edba4ba58400c052"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/0c82591fd8950d499612ada7104c5eba3191e200",
"reference": "0c82591fd8950d499612ada7104c5eba3191e200",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/6f60c44080ebcd62ee8bef25edba4ba58400c052",
"reference": "6f60c44080ebcd62ee8bef25edba4ba58400c052",
"shasum": "",
"mirrors": [
{
@ -1950,7 +1949,6 @@
]
},
"require": {
"ext-json": "*",
"league/mime-type-detection": "^1.0.0",
"php": "^8.0.2"
},
@ -1973,7 +1971,7 @@
"phpseclib/phpseclib": "^2.0",
"phpstan/phpstan": "^0.12.26",
"phpunit/phpunit": "^9.5.11",
"sabre/dav": "^4.1"
"sabre/dav": "^4.3.1"
},
"type": "library",
"autoload": {
@ -2007,7 +2005,7 @@
],
"support": {
"issues": "https://github.com/thephpleague/flysystem/issues",
"source": "https://github.com/thephpleague/flysystem/tree/3.0.5"
"source": "https://github.com/thephpleague/flysystem/tree/3.0.7"
},
"funding": [
{
@ -2023,20 +2021,20 @@
"type": "tidelift"
}
],
"time": "2022-02-12T19:38:15+00:00"
"time": "2022-02-14T20:25:21+00:00"
},
{
"name": "league/flysystem-aws-s3-v3",
"version": "3.0.2",
"version": "3.0.6",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem-aws-s3-v3.git",
"reference": "eac8fe9f39a6e29a47323068af279b4e284e7cc7"
"reference": "119b9f1fbac10b04d4edf5d8df645d5adb248d30"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/zipball/eac8fe9f39a6e29a47323068af279b4e284e7cc7",
"reference": "eac8fe9f39a6e29a47323068af279b4e284e7cc7",
"url": "https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/zipball/119b9f1fbac10b04d4edf5d8df645d5adb248d30",
"reference": "119b9f1fbac10b04d4edf5d8df645d5adb248d30",
"shasum": "",
"mirrors": [
{
@ -2083,22 +2081,22 @@
],
"support": {
"issues": "https://github.com/thephpleague/flysystem-aws-s3-v3/issues",
"source": "https://github.com/thephpleague/flysystem-aws-s3-v3/tree/3.0.2"
"source": "https://github.com/thephpleague/flysystem-aws-s3-v3/tree/3.0.6"
},
"time": "2022-01-15T22:42:13+00:00"
"time": "2022-02-13T10:03:40+00:00"
},
{
"name": "league/flysystem-ftp",
"version": "3.0.4",
"version": "3.0.6",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem-ftp.git",
"reference": "408b2ba9dedfb9685e8ab9a24d4ca9b4fe636149"
"reference": "41e4c170348bc56cae84843d3c0176ec8af96d53"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem-ftp/zipball/408b2ba9dedfb9685e8ab9a24d4ca9b4fe636149",
"reference": "408b2ba9dedfb9685e8ab9a24d4ca9b4fe636149",
"url": "https://api.github.com/repos/thephpleague/flysystem-ftp/zipball/41e4c170348bc56cae84843d3c0176ec8af96d53",
"reference": "41e4c170348bc56cae84843d3c0176ec8af96d53",
"shasum": "",
"mirrors": [
{
@ -2139,7 +2137,7 @@
"ftpd"
],
"support": {
"source": "https://github.com/thephpleague/flysystem-ftp/tree/3.0.4"
"source": "https://github.com/thephpleague/flysystem-ftp/tree/3.0.6"
},
"funding": [
{
@ -2155,7 +2153,7 @@
"type": "tidelift"
}
],
"time": "2022-02-10T16:09:00+00:00"
"time": "2022-02-14T18:49:21+00:00"
},
{
"name": "league/flysystem-sftp",
@ -2784,6 +2782,232 @@
},
"time": "2021-11-30T19:35:32+00:00"
},
{
"name": "overtrue/flysystem-cos",
"version": "5.0.0",
"source": {
"type": "git",
"url": "https://github.com/overtrue/flysystem-cos.git",
"reference": "f081a5d87f1f8c984915657f13bc74f5d8c32cbe"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/overtrue/flysystem-cos/zipball/f081a5d87f1f8c984915657f13bc74f5d8c32cbe",
"reference": "f081a5d87f1f8c984915657f13bc74f5d8c32cbe",
"shasum": "",
"mirrors": [
{
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"league/flysystem": "^3.0",
"overtrue/qcloud-cos-client": "^1.0.0"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.7",
"friendsofphp/php-cs-fixer": "^2.15",
"league/flysystem-adapter-test-utilities": "^3.0",
"mockery/mockery": "^1.0",
"phpunit/phpunit": "^9.5"
},
"type": "library",
"extra": {
"hooks": {
"pre-commit": [
"composer test",
"composer check-style"
],
"pre-push": [
"composer test",
"composer check-style"
]
}
},
"autoload": {
"psr-4": {
"Overtrue\\Flysystem\\Cos\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "overtrue",
"email": "i@overtrue.me"
}
],
"description": "Flysystem adapter for the QCloud COS storage.",
"support": {
"issues": "https://github.com/overtrue/flysystem-cos/issues",
"source": "https://github.com/overtrue/flysystem-cos/tree/5.0.0"
},
"funding": [
{
"url": "https://github.com/overtrue",
"type": "github"
}
],
"time": "2022-02-14T04:17:59+00:00"
},
{
"name": "overtrue/flysystem-qiniu",
"version": "3.0.0",
"source": {
"type": "git",
"url": "https://github.com/overtrue/flysystem-qiniu.git",
"reference": "cd49bc62c62bab59a7cff57697602b2ada08b06e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/overtrue/flysystem-qiniu/zipball/cd49bc62c62bab59a7cff57697602b2ada08b06e",
"reference": "cd49bc62c62bab59a7cff57697602b2ada08b06e",
"shasum": "",
"mirrors": [
{
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"league/flysystem": "^3.0",
"qiniu/php-sdk": "^7.2"
},
"require-dev": {
"mockery/mockery": "^1.4",
"phpunit/phpunit": "^9.5"
},
"type": "library",
"extra": {
"hooks": {
"pre-commit": [
"composer test",
"composer check-style"
],
"pre-push": [
"composer test",
"composer check-style"
]
}
},
"autoload": {
"psr-4": {
"Overtrue\\Flysystem\\Qiniu\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "overtrue",
"email": "i@overtrue.me"
}
],
"description": "Flysystem adapter for the Qiniu storage.",
"support": {
"issues": "https://github.com/overtrue/flysystem-qiniu/issues",
"source": "https://github.com/overtrue/flysystem-qiniu/tree/3.0.0"
},
"funding": [
{
"url": "https://github.com/overtrue",
"type": "github"
}
],
"time": "2022-02-14T07:22:06+00:00"
},
{
"name": "overtrue/qcloud-cos-client",
"version": "1.0.2",
"source": {
"type": "git",
"url": "https://github.com/overtrue/qcloud-cos-client.git",
"reference": "3e96ebad0b79152c32733ccf00da0d60b3c23c10"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/overtrue/qcloud-cos-client/zipball/3e96ebad0b79152c32733ccf00da0d60b3c23c10",
"reference": "3e96ebad0b79152c32733ccf00da0d60b3c23c10",
"shasum": "",
"mirrors": [
{
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"ext-dom": "*",
"ext-json": "*",
"ext-libxml": "*",
"ext-simplexml": "*",
"guzzlehttp/guzzle": "^7.2",
"php": ">=7.4",
"psr/http-message": "^1.0"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.7",
"friendsofphp/php-cs-fixer": "^2.15",
"mockery/mockery": "^1.0",
"monolog/monolog": "^2.1",
"phpunit/phpunit": "^9.0"
},
"type": "library",
"extra": {
"hooks": {
"pre-commit": [
"composer test",
"composer check-style"
],
"pre-push": [
"composer test",
"composer check-style"
]
}
},
"autoload": {
"psr-4": {
"Overtrue\\CosClient\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "overtrue",
"email": "anzhengchao@gmail.com"
}
],
"description": "Client of QCloud.com COS",
"support": {
"issues": "https://github.com/overtrue/qcloud-cos-client/issues",
"source": "https://github.com/overtrue/qcloud-cos-client/tree/1.0.2"
},
"funding": [
{
"url": "https://www.easywechat.com/img/pay/wechat.jpg",
"type": "custom"
},
{
"url": "https://github.com/",
"type": "github"
},
{
"url": "https://www.patreon.com/overtrue",
"type": "patreon"
}
],
"time": "2021-05-31T02:18:32+00:00"
},
{
"name": "phpoption/phpoption",
"version": "1.8.1",
@ -3463,6 +3687,68 @@
},
"time": "2022-01-03T13:58:38+00:00"
},
{
"name": "qiniu/php-sdk",
"version": "v7.4.1",
"source": {
"type": "git",
"url": "https://github.com/qiniu/php-sdk.git",
"reference": "10c7ead8357743b4b987a335c14964fb07700d57"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/qiniu/php-sdk/zipball/10c7ead8357743b4b987a335c14964fb07700d57",
"reference": "10c7ead8357743b4b987a335c14964fb07700d57",
"shasum": "",
"mirrors": [
{
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true
}
]
},
"require": {
"php": ">=5.3.3"
},
"require-dev": {
"paragonie/random_compat": ">=2",
"phpunit/phpunit": "~4.0",
"squizlabs/php_codesniffer": "~3.6"
},
"type": "library",
"autoload": {
"files": [
"src/Qiniu/functions.php"
],
"psr-4": {
"Qiniu\\": "src/Qiniu"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Qiniu",
"email": "sdk@qiniu.com",
"homepage": "http://www.qiniu.com"
}
],
"description": "Qiniu Resource (Cloud) Storage SDK for PHP",
"homepage": "http://developer.qiniu.com/",
"keywords": [
"cloud",
"qiniu",
"sdk",
"storage"
],
"support": {
"issues": "https://github.com/qiniu/php-sdk/issues",
"source": "https://github.com/qiniu/php-sdk/tree/v7.4.1"
},
"time": "2021-09-24T09:39:16+00:00"
},
{
"name": "ralouphie/getallheaders",
"version": "3.0.3",
@ -7203,16 +7489,16 @@
},
{
"name": "laravel/sail",
"version": "v1.13.2",
"version": "v1.13.3",
"source": {
"type": "git",
"url": "https://github.com/laravel/sail.git",
"reference": "ede5e861549be2c3a8b789cdb34203a5aef5b92a"
"reference": "53dd949a2134bd468f50defce85de566a7800dd9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/sail/zipball/ede5e861549be2c3a8b789cdb34203a5aef5b92a",
"reference": "ede5e861549be2c3a8b789cdb34203a5aef5b92a",
"url": "https://api.github.com/repos/laravel/sail/zipball/53dd949a2134bd468f50defce85de566a7800dd9",
"reference": "53dd949a2134bd468f50defce85de566a7800dd9",
"shasum": "",
"mirrors": [
{
@ -7265,7 +7551,7 @@
"issues": "https://github.com/laravel/sail/issues",
"source": "https://github.com/laravel/sail"
},
"time": "2022-02-08T14:14:12+00:00"
"time": "2022-02-11T14:28:50+00:00"
},
{
"name": "maximebf/debugbar",
@ -8959,16 +9245,16 @@
},
{
"name": "sebastian/global-state",
"version": "5.0.4",
"version": "5.0.5",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/global-state.git",
"reference": "19c519631c5a511b7ed0ad64a6713fdb3fd25fe4"
"reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/19c519631c5a511b7ed0ad64a6713fdb3fd25fe4",
"reference": "19c519631c5a511b7ed0ad64a6713fdb3fd25fe4",
"url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/0ca8db5a5fc9c8646244e629625ac486fa286bf2",
"reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2",
"shasum": "",
"mirrors": [
{
@ -9017,7 +9303,7 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/global-state/issues",
"source": "https://github.com/sebastianbergmann/global-state/tree/5.0.4"
"source": "https://github.com/sebastianbergmann/global-state/tree/5.0.5"
},
"funding": [
{
@ -9025,7 +9311,7 @@
"type": "github"
}
],
"time": "2022-02-10T07:01:19+00:00"
"time": "2022-02-14T08:28:10+00:00"
},
{
"name": "sebastian/lines-of-code",
@ -9682,16 +9968,16 @@
},
{
"name": "spatie/laravel-ignition",
"version": "1.0.5",
"version": "1.0.6",
"source": {
"type": "git",
"url": "https://github.com/spatie/laravel-ignition.git",
"reference": "c059fafef983db54bf7ebeeb5f9e00006f027fe3"
"reference": "d349854331789aba9205fd755e0c1d1934ef1463"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/c059fafef983db54bf7ebeeb5f9e00006f027fe3",
"reference": "c059fafef983db54bf7ebeeb5f9e00006f027fe3",
"url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/d349854331789aba9205fd755e0c1d1934ef1463",
"reference": "d349854331789aba9205fd755e0c1d1934ef1463",
"shasum": "",
"mirrors": [
{
@ -9771,7 +10057,7 @@
"type": "github"
}
],
"time": "2022-02-13T14:16:05+00:00"
"time": "2022-02-15T11:02:15+00:00"
},
{
"name": "symfony/debug",

View File

@ -14,6 +14,11 @@ use Illuminate\Support\Facades\Route;
|
*/
Route::middleware('auth:sanctum')->get('/user', function (Request $request) {
return $request->user();
Route::group(['prefix' => 'v1'], function () {
Route::any('test', function () {
dd(1);
});
Route::middleware('auth:sanctum')->get('/user', function (Request $request) {
return $request->user();
});
});