deps: sanctum
This commit is contained in:
parent
246362a574
commit
0b776016d4
131
.idea/neoban.iml
generated
131
.idea/neoban.iml
generated
@ -1,7 +1,136 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="WEB_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/backend/app" isTestSource="false" packagePrefix="App\" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/backend/database/factories" isTestSource="false" packagePrefix="Database\Factories\" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/backend/database/seeders" isTestSource="false" packagePrefix="Database\Seeders\" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/backend/tests" isTestSource="true" packagePrefix="Tests\" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/brianium/paratest" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/brick/math" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/carbonphp/carbon-doctrine-types" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/composer" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/dflydev/dot-access-data" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/doctrine/deprecations" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/doctrine/inflector" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/doctrine/lexer" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/dragonmantank/cron-expression" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/egulias/email-validator" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/fakerphp/faker" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/fidry/cpu-core-counter" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/filp/whoops" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/fruitcake/php-cors" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/graham-campbell/result-type" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/guzzlehttp/guzzle" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/guzzlehttp/promises" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/guzzlehttp/psr7" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/guzzlehttp/uri-template" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/hamcrest/hamcrest-php" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/jean85/pretty-package-versions" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/laravel/framework" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/laravel/pail" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/laravel/pint" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/laravel/prompts" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/laravel/sanctum" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/laravel/serializable-closure" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/laravel/tinker" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/league/commonmark" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/league/config" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/league/flysystem" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/league/flysystem-local" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/league/mime-type-detection" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/league/uri" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/league/uri-interfaces" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/mockery/mockery" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/monolog/monolog" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/myclabs/deep-copy" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/nesbot/carbon" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/nette/schema" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/nette/utils" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/nikic/php-parser" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/nunomaduro/collision" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/nunomaduro/termwind" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/pestphp/pest" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/pestphp/pest-plugin" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/pestphp/pest-plugin-arch" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/pestphp/pest-plugin-laravel" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/pestphp/pest-plugin-mutate" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/pestphp/pest-plugin-profanity" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/phar-io/manifest" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/phar-io/version" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/phpdocumentor/reflection-common" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/phpdocumentor/reflection-docblock" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/phpdocumentor/type-resolver" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/phpoption/phpoption" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/phpstan/phpdoc-parser" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/phpunit/php-code-coverage" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/phpunit/php-file-iterator" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/phpunit/php-invoker" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/phpunit/php-text-template" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/phpunit/php-timer" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/phpunit/phpunit" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/psr/clock" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/psr/container" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/psr/event-dispatcher" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/psr/http-client" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/psr/http-factory" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/psr/http-message" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/psr/log" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/psr/simple-cache" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/psy/psysh" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/ralouphie/getallheaders" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/ramsey/collection" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/ramsey/uuid" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/sebastian/cli-parser" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/sebastian/comparator" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/sebastian/complexity" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/sebastian/diff" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/sebastian/environment" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/sebastian/exporter" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/sebastian/global-state" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/sebastian/lines-of-code" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/sebastian/object-enumerator" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/sebastian/object-reflector" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/sebastian/recursion-context" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/sebastian/type" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/sebastian/version" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/staabm/side-effects-detector" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/clock" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/console" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/css-selector" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/deprecation-contracts" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/error-handler" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/event-dispatcher" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/event-dispatcher-contracts" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/finder" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/http-foundation" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/http-kernel" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/mailer" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/mime" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/polyfill-ctype" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/polyfill-intl-grapheme" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/polyfill-intl-idn" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/polyfill-intl-normalizer" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/polyfill-mbstring" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/polyfill-php80" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/polyfill-php84" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/polyfill-php85" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/polyfill-uuid" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/process" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/routing" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/service-contracts" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/string" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/translation" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/translation-contracts" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/uid" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/symfony/var-dumper" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/ta-tikoma/phpunit-architecture-test" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/theseer/tokenizer" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/tijsverkoyen/css-to-inline-styles" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/vlucas/phpdotenv" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/voku/portable-ascii" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/webmozart/assert" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
|
||||
14
.idea/php-test-framework.xml
generated
Normal file
14
.idea/php-test-framework.xml
generated
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="PhpTestFrameworkSettings">
|
||||
<test_tools>
|
||||
<tool tool_name="Pest">
|
||||
<settings>
|
||||
<configurations>
|
||||
<local_configuration configuration_file_path="$PROJECT_DIR$/backend/phpunit.xml" executable_path="$PROJECT_DIR$/backend/vendor/pestphp/pest/bin/pest" use_configuration_file="true" />
|
||||
</configurations>
|
||||
</settings>
|
||||
</tool>
|
||||
</test_tools>
|
||||
</component>
|
||||
</project>
|
||||
131
.idea/php.xml
generated
131
.idea/php.xml
generated
@ -10,6 +10,137 @@
|
||||
<option name="highlightLevel" value="WARNING" />
|
||||
<option name="transferred" value="true" />
|
||||
</component>
|
||||
<component name="PhpIncludePathManager">
|
||||
<include_path>
|
||||
<path value="$PROJECT_DIR$/backend/vendor/nikic/php-parser" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/dflydev/dot-access-data" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/egulias/email-validator" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/ramsey/collection" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/ramsey/uuid" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/mockery/mockery" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/nunomaduro/collision" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/hamcrest/hamcrest-php" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/nunomaduro/termwind" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/jean85/pretty-package-versions" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/phpunit/php-timer" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/phpunit/php-file-iterator" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/theseer/tokenizer" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/phpunit/php-code-coverage" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/phpunit/phpunit" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/phpunit/php-text-template" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/phpunit/php-invoker" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/league/flysystem" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/league/uri-interfaces" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/league/commonmark" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/league/mime-type-detection" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/league/uri" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/league/config" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/league/flysystem-local" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/brianium/paratest" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/myclabs/deep-copy" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/composer" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/nesbot/carbon" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/phar-io/version" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/phar-io/manifest" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/laravel/pail" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/filp/whoops" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/laravel/tinker" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/laravel/serializable-closure" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/brick/math" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/laravel/prompts" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/laravel/framework" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/graham-campbell/result-type" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/laravel/pint" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/ta-tikoma/phpunit-architecture-test" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/doctrine/deprecations" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/psr/container" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/doctrine/lexer" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/doctrine/inflector" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/psr/http-message" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/pestphp/pest-plugin" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/psr/event-dispatcher" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/pestphp/pest-plugin-arch" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/psr/http-client" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/psr/http-factory" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/pestphp/pest" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/psr/clock" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/pestphp/pest-plugin-profanity" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/psr/log" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/pestphp/pest-plugin-mutate" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/psr/simple-cache" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/pestphp/pest-plugin-laravel" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/fidry/cpu-core-counter" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/tijsverkoyen/css-to-inline-styles" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/carbonphp/carbon-doctrine-types" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/fruitcake/php-cors" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/dragonmantank/cron-expression" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/deprecation-contracts" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/string" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/var-dumper" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/polyfill-intl-idn" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/phpoption/phpoption" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/webmozart/assert" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/service-contracts" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/mime" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/voku/portable-ascii" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/polyfill-php80" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/routing" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/polyfill-php84" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/polyfill-php85" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/error-handler" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/event-dispatcher" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/uid" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/css-selector" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/event-dispatcher-contracts" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/guzzlehttp/psr7" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/phpdocumentor/reflection-common" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/console" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/guzzlehttp/promises" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/polyfill-ctype" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/ralouphie/getallheaders" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/guzzlehttp/uri-template" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/phpdocumentor/reflection-docblock" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/polyfill-intl-grapheme" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/guzzlehttp/guzzle" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/phpdocumentor/type-resolver" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/clock" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/sebastian/global-state" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/nette/schema" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/http-kernel" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/sebastian/complexity" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/process" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/polyfill-intl-normalizer" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/polyfill-uuid" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/sebastian/object-reflector" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/translation" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/sebastian/cli-parser" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/nette/utils" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/mailer" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/sebastian/recursion-context" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/finder" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/sebastian/object-enumerator" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/translation-contracts" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/sebastian/type" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/sebastian/version" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/polyfill-mbstring" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/sebastian/diff" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/symfony/http-foundation" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/sebastian/lines-of-code" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/sebastian/environment" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/sebastian/comparator" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/sebastian/exporter" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/staabm/side-effects-detector" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/fakerphp/faker" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/monolog/monolog" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/vlucas/phpdotenv" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/phpstan/phpdoc-parser" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/psy/psysh" />
|
||||
<path value="$PROJECT_DIR$/backend/vendor/laravel/sanctum" />
|
||||
</include_path>
|
||||
</component>
|
||||
<component name="PhpProjectSharedConfiguration" php_language_level="8.5">
|
||||
<option name="suggestChangeDefaultLanguageLevel" value="false" />
|
||||
</component>
|
||||
<component name="PhpStanOptionsConfiguration">
|
||||
<option name="transferred" value="true" />
|
||||
</component>
|
||||
|
||||
6
.idea/prettier.xml
generated
Normal file
6
.idea/prettier.xml
generated
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="PrettierConfiguration">
|
||||
<option name="myConfigurationMode" value="AUTOMATIC" />
|
||||
</component>
|
||||
</project>
|
||||
@ -9,13 +9,14 @@
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Foundation\Auth\User as Authenticatable;
|
||||
use Illuminate\Notifications\Notifiable;
|
||||
use Laravel\Sanctum\HasApiTokens;
|
||||
|
||||
#[Fillable(['name', 'email', 'password'])]
|
||||
#[Hidden(['password', 'remember_token'])]
|
||||
class User extends Authenticatable
|
||||
{
|
||||
/** @use HasFactory<UserFactory> */
|
||||
use HasFactory, Notifiable;
|
||||
use HasFactory, Notifiable, HasApiTokens;
|
||||
|
||||
/**
|
||||
* Get the attributes that should be cast.
|
||||
|
||||
@ -7,6 +7,7 @@
|
||||
return Application::configure(basePath: dirname(__DIR__))
|
||||
->withRouting(
|
||||
web: __DIR__.'/../routes/web.php',
|
||||
api: __DIR__.'/../routes/api.php',
|
||||
commands: __DIR__.'/../routes/console.php',
|
||||
health: '/up',
|
||||
)
|
||||
|
||||
@ -11,6 +11,7 @@
|
||||
"require": {
|
||||
"php": "^8.3",
|
||||
"laravel/framework": "^13.0",
|
||||
"laravel/sanctum": "^4.0",
|
||||
"laravel/tinker": "^3.0"
|
||||
},
|
||||
"require-dev": {
|
||||
@ -86,4 +87,4 @@
|
||||
},
|
||||
"minimum-stability": "stable",
|
||||
"prefer-stable": true
|
||||
}
|
||||
}
|
||||
|
||||
65
backend/composer.lock
generated
65
backend/composer.lock
generated
@ -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": "2af3ccbaaf28845c404c1bd165e5a386",
|
||||
"content-hash": "e9b9fcbae4973df88c2a8fcae09e716f",
|
||||
"packages": [
|
||||
{
|
||||
"name": "brick/math",
|
||||
@ -1335,6 +1335,69 @@
|
||||
},
|
||||
"time": "2026-04-20T16:07:33+00:00"
|
||||
},
|
||||
{
|
||||
"name": "laravel/sanctum",
|
||||
"version": "v4.3.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/laravel/sanctum.git",
|
||||
"reference": "e3b85d6e36ad00e5db2d1dcc27c81ffdf15cbf76"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/laravel/sanctum/zipball/e3b85d6e36ad00e5db2d1dcc27c81ffdf15cbf76",
|
||||
"reference": "e3b85d6e36ad00e5db2d1dcc27c81ffdf15cbf76",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"ext-json": "*",
|
||||
"illuminate/console": "^11.0|^12.0|^13.0",
|
||||
"illuminate/contracts": "^11.0|^12.0|^13.0",
|
||||
"illuminate/database": "^11.0|^12.0|^13.0",
|
||||
"illuminate/support": "^11.0|^12.0|^13.0",
|
||||
"php": "^8.2",
|
||||
"symfony/console": "^7.0|^8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"mockery/mockery": "^1.6",
|
||||
"orchestra/testbench": "^9.15|^10.8|^11.0",
|
||||
"phpstan/phpstan": "^1.10"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"Laravel\\Sanctum\\SanctumServiceProvider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Laravel\\Sanctum\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Taylor Otwell",
|
||||
"email": "taylor@laravel.com"
|
||||
}
|
||||
],
|
||||
"description": "Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.",
|
||||
"keywords": [
|
||||
"auth",
|
||||
"laravel",
|
||||
"sanctum"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/laravel/sanctum/issues",
|
||||
"source": "https://github.com/laravel/sanctum"
|
||||
},
|
||||
"time": "2026-02-07T17:19:31+00:00"
|
||||
},
|
||||
{
|
||||
"name": "laravel/serializable-closure",
|
||||
"version": "v2.0.12",
|
||||
|
||||
84
backend/config/sanctum.php
Normal file
84
backend/config/sanctum.php
Normal file
@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
use Laravel\Sanctum\Sanctum;
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Stateful Domains
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Requests from the following domains / hosts will receive stateful API
|
||||
| authentication cookies. Typically, these should include your local
|
||||
| and production domains which access your API via a frontend SPA.
|
||||
|
|
||||
*/
|
||||
|
||||
'stateful' => explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf(
|
||||
'%s%s',
|
||||
'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1',
|
||||
Sanctum::currentApplicationUrlWithPort(),
|
||||
// Sanctum::currentRequestHost(),
|
||||
))),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Sanctum Guards
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This array contains the authentication guards that will be checked when
|
||||
| Sanctum is trying to authenticate a request. If none of these guards
|
||||
| are able to authenticate the request, Sanctum will use the bearer
|
||||
| token that's present on an incoming request for authentication.
|
||||
|
|
||||
*/
|
||||
|
||||
'guard' => ['web'],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Expiration Minutes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This value controls the number of minutes until an issued token will be
|
||||
| considered expired. This will override any values set in the token's
|
||||
| "expires_at" attribute, but first-party sessions are not affected.
|
||||
|
|
||||
*/
|
||||
|
||||
'expiration' => null,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Token Prefix
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Sanctum can prefix new tokens in order to take advantage of numerous
|
||||
| security scanning initiatives maintained by open source platforms
|
||||
| that notify developers if they commit tokens into repositories.
|
||||
|
|
||||
| See: https://docs.github.com/en/code-security/secret-scanning/about-secret-scanning
|
||||
|
|
||||
*/
|
||||
|
||||
'token_prefix' => env('SANCTUM_TOKEN_PREFIX', ''),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Sanctum Middleware
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When authenticating your first-party SPA with Sanctum you may need to
|
||||
| customize some of the middleware Sanctum uses while processing the
|
||||
| request. You may change the middleware listed below as required.
|
||||
|
|
||||
*/
|
||||
|
||||
'middleware' => [
|
||||
'authenticate_session' => Laravel\Sanctum\Http\Middleware\AuthenticateSession::class,
|
||||
'encrypt_cookies' => Illuminate\Cookie\Middleware\EncryptCookies::class,
|
||||
'validate_csrf_token' => Illuminate\Foundation\Http\Middleware\ValidateCsrfToken::class,
|
||||
],
|
||||
|
||||
];
|
||||
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('personal_access_tokens', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->morphs('tokenable');
|
||||
$table->text('name');
|
||||
$table->string('token', 64)->unique();
|
||||
$table->text('abilities')->nullable();
|
||||
$table->timestamp('last_used_at')->nullable();
|
||||
$table->timestamp('expires_at')->nullable()->index();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('personal_access_tokens');
|
||||
}
|
||||
};
|
||||
8
backend/routes/api.php
Normal file
8
backend/routes/api.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::get('/user', function (Request $request) {
|
||||
return $request->user();
|
||||
})->middleware('auth:sanctum');
|
||||
Loading…
x
Reference in New Issue
Block a user