Skip to content

Commit 96e89dd

Browse files
committed
first commit
0 parents  commit 96e89dd

17 files changed

+3089
-0
lines changed

.env

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
#
13+
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
14+
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
15+
16+
###> symfony/framework-bundle ###
17+
APP_ENV=dev
18+
APP_SECRET=43d1f1b0ce7f579a406e9d0d382a921a
19+
###< 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: 17 additions & 0 deletions
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

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

0 commit comments

Comments
 (0)