symfony work

This commit is contained in:
Mike Macgirvin 2024-03-28 17:05:09 +11:00
parent 83e7c65c0f
commit 718102c11d
3 changed files with 528 additions and 858 deletions

View file

@ -57,15 +57,12 @@
"league/oauth2-google": "^4.0",
"decomplexity/sendoauth2": "^3.0",
"gregwar/captcha": "^1.2",
"symfony/symfony": "*",
"symfony/symfony": "^5.0",
"doctrine/orm": "*",
"doctrine/dbal": "*"
},
"require-dev": {
"phpunit/phpunit": "@stable",
"behat/behat": "*",
"behat/mink-extension": "@stable",
"behat/mink-goutte-driver": "@stable",
"php-mock/php-mock-phpunit": "@stable",
"codeception/codeception": "*",
"codeception/module-phpbrowser": "*",
@ -82,6 +79,7 @@
"Code\\Tests\\Unit\\": "tests/unit"
}
},
"minimum-stability": "stable",
"config": {
"platform": {

1376
composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -15,10 +15,10 @@ use Symfony\Component\Dotenv\Dotenv;
use Symfony\Component\ErrorHandler\Debug;
use Symfony\Component\HttpFoundation\Request;
require dirname(__DIR__) . '/vendor/autoload.php';
require 'vendor/autoload.php';
require_once 'src/Web/WebServer.php';
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
(new Dotenv())->bootEnv('.env');
global $kernel;