Commit 2420ecea authored by a.chevordin@iq-adv.ru's avatar a.chevordin@iq-adv.ru
Browse files

add jwt and doctrine

parent 61539863
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -6,3 +6,9 @@ SERVER_NAME=localhost
DB_NAME=database
DB_USER=test
DB_PASSWORD=password

JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
JWT_PASSPHRASE=080feb5b83c5712b503b534e9509cf8485b60457671103307db3178ce461716c

DATABASE_URL="postgresql://test:password@database:5432/database?serverVersion=15&charset=utf8"
+4 −0
Original line number Diff line number Diff line
@@ -10,3 +10,7 @@
/var/
/vendor/
###< symfony/framework-bundle ###

###> lexik/jwt-authentication-bundle ###
/config/jwt/*.pem
###< lexik/jwt-authentication-bundle ###
+4 −0
Original line number Diff line number Diff line
@@ -19,6 +19,10 @@
        "php": ">=8.2",
        "ext-ctype": "*",
        "ext-iconv": "*",
        "doctrine/doctrine-bundle": "^2.11",
        "doctrine/doctrine-migrations-bundle": "^3.3",
        "doctrine/orm": "^2.17",
        "lexik/jwt-authentication-bundle": "^2.19",
        "symfony/console": "6.3.*",
        "symfony/dotenv": "6.3.*",
        "symfony/flex": "^2",
+3790 −1043

File changed.

Preview size limit exceeded, changes collapsed.

+4 −0
Original line number Diff line number Diff line
@@ -2,4 +2,8 @@

return [
    Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
    Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
    Lexik\Bundle\JWTAuthenticationBundle\LexikJWTAuthenticationBundle::class => ['all' => true],
    Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true],
    Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true],
];
Loading