Skip to content

Commit 7306618

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

File tree

19 files changed

+2750
-0
lines changed

19 files changed

+2750
-0
lines changed

.editorconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
indent_size = 4
9+
indent_style = space
10+
insert_final_newline = true
11+
trim_trailing_whitespace = true
12+
13+
[{compose.yaml,compose.*.yaml}]
14+
indent_size = 2
15+
16+
[*.md]
17+
trim_trailing_whitespace = false

.env

Lines changed: 20 additions & 0 deletions
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=
20+
###< symfony/framework-bundle ###

.env.dev

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
###> symfony/framework-bundle ###
3+
APP_SECRET=ae2380c7788189b5cd1f9415e935afbc
4+
###< symfony/framework-bundle ###

.gitignore

Lines changed: 10 additions & 0 deletions
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

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

composer.json

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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.3.*",
11+
"symfony/dotenv": "7.3.*",
12+
"symfony/flex": "^2",
13+
"symfony/framework-bundle": "7.3.*",
14+
"symfony/runtime": "7.3.*",
15+
"symfony/yaml": "7.3.*"
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+
"bump-after-update": true,
26+
"sort-packages": true
27+
},
28+
"autoload": {
29+
"psr-4": {
30+
"App\\": "src/"
31+
}
32+
},
33+
"autoload-dev": {
34+
"psr-4": {
35+
"App\\Tests\\": "tests/"
36+
}
37+
},
38+
"replace": {
39+
"symfony/polyfill-ctype": "*",
40+
"symfony/polyfill-iconv": "*",
41+
"symfony/polyfill-php72": "*",
42+
"symfony/polyfill-php73": "*",
43+
"symfony/polyfill-php74": "*",
44+
"symfony/polyfill-php80": "*",
45+
"symfony/polyfill-php81": "*",
46+
"symfony/polyfill-php82": "*"
47+
},
48+
"scripts": {
49+
"auto-scripts": {
50+
"cache:clear": "symfony-cmd",
51+
"assets:install %PUBLIC_DIR%": "symfony-cmd"
52+
},
53+
"post-install-cmd": [
54+
"@auto-scripts"
55+
],
56+
"post-update-cmd": [
57+
"@auto-scripts"
58+
]
59+
},
60+
"conflict": {
61+
"symfony/symfony": "*"
62+
},
63+
"extra": {
64+
"symfony": {
65+
"allow-contrib": false,
66+
"require": "7.3.*"
67+
}
68+
}
69+
}

0 commit comments

Comments
 (0)