Skip to content

Commit fdcc65e

Browse files
committed
Add initial set of files
0 parents  commit fdcc65e

17 files changed

+2709
-0
lines changed

.env

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# In all environments, the following files are loaded if they exist,
2+
# the latter taking precedence over the former:
3+
#
4+
# * .env contains default values for the environment variables needed by the app
5+
# * .env.local uncommitted file with local overrides
6+
# * .env.$APP_ENV committed environment-specific defaults
7+
# * .env.$APP_ENV.local uncommitted environment-specific overrides
8+
#
9+
# Real environment variables win over .env files.
10+
#
11+
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
12+
# https://symfony.com/doc/current/configuration/secrets.html
13+
#
14+
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
15+
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
16+
17+
###> symfony/framework-bundle ###
18+
APP_ENV=dev
19+
APP_SECRET=819655a95163633b248d668fb8d15a90
20+
###< symfony/framework-bundle ###

.gitignore

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
###> symfony/framework-bundle ###
3+
/.env.local
4+
/.env.local.php
5+
/.env.*.local
6+
/config/secrets/prod/prod.decrypt.private.php
7+
/public/bundles/
8+
/var/
9+
/vendor/
10+
###< symfony/framework-bundle ###

bin/console

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env php
2+
<?php
3+
4+
use App\Kernel;
5+
use Symfony\Bundle\FrameworkBundle\Console\Application;
6+
7+
if (!is_file(dirname(__DIR__).'/vendor/autoload_runtime.php')) {
8+
throw new LogicException('Symfony Runtime is missing. Try running "composer require symfony/runtime".');
9+
}
10+
11+
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
12+
13+
return function (array $context) {
14+
$kernel = new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
15+
16+
return new Application($kernel);
17+
};

composer.json

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"type": "project",
3+
"license": "proprietary",
4+
"minimum-stability": "stable",
5+
"prefer-stable": true,
6+
"require": {
7+
"php": ">=8.2",
8+
"ext-ctype": "*",
9+
"ext-iconv": "*",
10+
"symfony/console": "7.0.*",
11+
"symfony/dotenv": "7.0.*",
12+
"symfony/flex": "^2",
13+
"symfony/framework-bundle": "7.0.*",
14+
"symfony/runtime": "7.0.*",
15+
"symfony/yaml": "7.0.*"
16+
},
17+
"require-dev": {
18+
},
19+
"config": {
20+
"allow-plugins": {
21+
"php-http/discovery": true,
22+
"symfony/flex": true,
23+
"symfony/runtime": true
24+
},
25+
"sort-packages": true
26+
},
27+
"autoload": {
28+
"psr-4": {
29+
"App\\": "src/"
30+
}
31+
},
32+
"autoload-dev": {
33+
"psr-4": {
34+
"App\\Tests\\": "tests/"
35+
}
36+
},
37+
"replace": {
38+
"symfony/polyfill-ctype": "*",
39+
"symfony/polyfill-iconv": "*",
40+
"symfony/polyfill-php72": "*",
41+
"symfony/polyfill-php73": "*",
42+
"symfony/polyfill-php74": "*",
43+
"symfony/polyfill-php80": "*",
44+
"symfony/polyfill-php81": "*",
45+
"symfony/polyfill-php82": "*"
46+
},
47+
"scripts": {
48+
"auto-scripts": {
49+
"cache:clear": "symfony-cmd",
50+
"assets:install %PUBLIC_DIR%": "symfony-cmd"
51+
},
52+
"post-install-cmd": [
53+
"@auto-scripts"
54+
],
55+
"post-update-cmd": [
56+
"@auto-scripts"
57+
]
58+
},
59+
"conflict": {
60+
"symfony/symfony": "*"
61+
},
62+
"extra": {
63+
"symfony": {
64+
"allow-contrib": false,
65+
"require": "7.0.*"
66+
}
67+
}
68+
}

0 commit comments

Comments
 (0)