mirror of
				https://github.com/kevinveenbirkenbach/infinito.git
				synced 2025-10-31 09:19:08 +00:00 
			
		
		
		
	Added skeleton
This commit is contained in:
		
							
								
								
									
										24
									
								
								application/.env.dist
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								application/.env.dist
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,24 @@ | ||||
| # This file is a "template" of which env vars need to be defined for your application | ||||
| # Copy this file to .env file for development, create environment variables when deploying to production | ||||
| # https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration | ||||
|  | ||||
| ###> symfony/framework-bundle ### | ||||
| APP_ENV=dev | ||||
| APP_SECRET=997425e20bc2144c301a312511101613 | ||||
| #TRUSTED_PROXIES=127.0.0.1,127.0.0.2 | ||||
| #TRUSTED_HOSTS=localhost,example.com | ||||
| ###< symfony/framework-bundle ### | ||||
|  | ||||
| ###> doctrine/doctrine-bundle ### | ||||
| # Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url | ||||
| # For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db" | ||||
| # Configure your db driver and server_version in config/packages/doctrine.yaml | ||||
| #DATABASE_URL=mysql://DEV_USER:userpass@db:33060/DEV_DATABASE | ||||
| ###< doctrine/doctrine-bundle ### | ||||
|  | ||||
| ###> symfony/swiftmailer-bundle ### | ||||
| # For Gmail as a transport, use: "gmail://username:password@localhost" | ||||
| # For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode=" | ||||
| # Delivery is disabled by default via "null://localhost" | ||||
| MAILER_URL=null://localhost | ||||
| ###< symfony/swiftmailer-bundle ### | ||||
							
								
								
									
										16
									
								
								application/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								application/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
|  | ||||
| ###> symfony/framework-bundle ### | ||||
| /.env | ||||
| /public/bundles/ | ||||
| /var/ | ||||
| /vendor/ | ||||
| ###< symfony/framework-bundle ### | ||||
|  | ||||
| ###> symfony/phpunit-bridge ### | ||||
| .phpunit | ||||
| /phpunit.xml | ||||
| ###< symfony/phpunit-bridge ### | ||||
|  | ||||
| ###> symfony/web-server-bundle ### | ||||
| /.web-server-pid | ||||
| ###< symfony/web-server-bundle ### | ||||
							
								
								
									
										39
									
								
								application/bin/console
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										39
									
								
								application/bin/console
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,39 @@ | ||||
| #!/usr/bin/env php | ||||
| <?php | ||||
|  | ||||
| use App\Kernel; | ||||
| use Symfony\Bundle\FrameworkBundle\Console\Application; | ||||
| use Symfony\Component\Console\Input\ArgvInput; | ||||
| use Symfony\Component\Debug\Debug; | ||||
| use Symfony\Component\Dotenv\Dotenv; | ||||
|  | ||||
| set_time_limit(0); | ||||
|  | ||||
| require __DIR__.'/../vendor/autoload.php'; | ||||
|  | ||||
| if (!class_exists(Application::class)) { | ||||
|     throw new \RuntimeException('You need to add "symfony/framework-bundle" as a Composer dependency.'); | ||||
| } | ||||
|  | ||||
| if (!isset($_SERVER['APP_ENV'])) { | ||||
|     if (!class_exists(Dotenv::class)) { | ||||
|         throw new \RuntimeException('APP_ENV environment variable is not defined. You need to define environment variables for configuration or add "symfony/dotenv" as a Composer dependency to load variables from a .env file.'); | ||||
|     } | ||||
|     (new Dotenv())->load(__DIR__.'/../.env'); | ||||
| } | ||||
|  | ||||
| $input = new ArgvInput(); | ||||
| $env = $input->getParameterOption(['--env', '-e'], $_SERVER['APP_ENV'] ?? 'dev', true); | ||||
| $debug = (bool) ($_SERVER['APP_DEBUG'] ?? ('prod' !== $env)) && !$input->hasParameterOption('--no-debug', true); | ||||
|  | ||||
| if ($debug) { | ||||
|     umask(0000); | ||||
|  | ||||
|     if (class_exists(Debug::class)) { | ||||
|         Debug::enable(); | ||||
|     } | ||||
| } | ||||
|  | ||||
| $kernel = new Kernel($env, $debug); | ||||
| $application = new Application($kernel); | ||||
| $application->run($input); | ||||
							
								
								
									
										22
									
								
								application/bin/phpunit
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										22
									
								
								application/bin/phpunit
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| #!/usr/bin/env php | ||||
| <?php | ||||
|  | ||||
| if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) { | ||||
|     echo "Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\n"; | ||||
|     exit(1); | ||||
| } | ||||
| if (false === getenv('SYMFONY_DEPRECATIONS_HELPER')) { | ||||
|     // see https://symfony.com/doc/current/components/phpunit_bridge.html#making-tests-fail | ||||
|     putenv('SYMFONY_DEPRECATIONS_HELPER=999999'); | ||||
| } | ||||
| if (false === getenv('SYMFONY_PHPUNIT_REMOVE')) { | ||||
|     putenv('SYMFONY_PHPUNIT_REMOVE='); | ||||
| } | ||||
| if (false === getenv('SYMFONY_PHPUNIT_VERSION')) { | ||||
|     putenv('SYMFONY_PHPUNIT_VERSION=6.5'); | ||||
| } | ||||
| if (false === getenv('SYMFONY_PHPUNIT_DIR')) { | ||||
|     putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit'); | ||||
| } | ||||
|  | ||||
| require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit'; | ||||
							
								
								
									
										79
									
								
								application/composer.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										79
									
								
								application/composer.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,79 @@ | ||||
| { | ||||
|     "type": "project", | ||||
|     "license": "proprietary", | ||||
|     "require": { | ||||
|         "php": "^7.1.3", | ||||
|         "ext-ctype": "*", | ||||
|         "ext-iconv": "*", | ||||
|         "sensio/framework-extra-bundle": "^5.1", | ||||
|         "symfony/asset": "*", | ||||
|         "symfony/console": "*", | ||||
|         "symfony/expression-language": "*", | ||||
|         "symfony/flex": "^1.1", | ||||
|         "symfony/form": "*", | ||||
|         "symfony/framework-bundle": "*", | ||||
|         "symfony/monolog-bundle": "^3.1", | ||||
|         "symfony/orm-pack": "*", | ||||
|         "symfony/process": "*", | ||||
|         "symfony/security-bundle": "*", | ||||
|         "symfony/serializer-pack": "*", | ||||
|         "symfony/swiftmailer-bundle": "^3.1", | ||||
|         "symfony/twig-bundle": "*", | ||||
|         "symfony/validator": "*", | ||||
|         "symfony/web-link": "*", | ||||
|         "symfony/yaml": "*" | ||||
|     }, | ||||
|     "require-dev": { | ||||
|         "symfony/debug-pack": "*", | ||||
|         "symfony/dotenv": "*", | ||||
|         "symfony/maker-bundle": "^1.0", | ||||
|         "symfony/profiler-pack": "*", | ||||
|         "symfony/test-pack": "*", | ||||
|         "symfony/web-server-bundle": "*" | ||||
|     }, | ||||
|     "config": { | ||||
|         "preferred-install": { | ||||
|             "*": "dist" | ||||
|         }, | ||||
|         "sort-packages": true | ||||
|     }, | ||||
|     "autoload": { | ||||
|         "psr-4": { | ||||
|             "App\\": "src/" | ||||
|         } | ||||
|     }, | ||||
|     "autoload-dev": { | ||||
|         "psr-4": { | ||||
|             "App\\Tests\\": "tests/" | ||||
|         } | ||||
|     }, | ||||
|     "replace": { | ||||
|         "paragonie/random_compat": "*", | ||||
|         "symfony/polyfill-ctype": "*", | ||||
|         "symfony/polyfill-iconv": "*", | ||||
|         "symfony/polyfill-php71": "*", | ||||
|         "symfony/polyfill-php70": "*", | ||||
|         "symfony/polyfill-php56": "*" | ||||
|     }, | ||||
|     "scripts": { | ||||
|         "auto-scripts": { | ||||
|             "cache:clear": "symfony-cmd", | ||||
|             "assets:install %PUBLIC_DIR%": "symfony-cmd" | ||||
|         }, | ||||
|         "post-install-cmd": [ | ||||
|             "@auto-scripts" | ||||
|         ], | ||||
|         "post-update-cmd": [ | ||||
|             "@auto-scripts" | ||||
|         ] | ||||
|     }, | ||||
|     "conflict": { | ||||
|         "symfony/symfony": "*" | ||||
|     }, | ||||
|     "extra": { | ||||
|         "symfony": { | ||||
|             "allow-contrib": false, | ||||
|             "require": "4.1.*" | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										5770
									
								
								application/composer.lock
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										5770
									
								
								application/composer.lock
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										17
									
								
								application/config/bundles.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								application/config/bundles.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| <?php | ||||
|  | ||||
| return [ | ||||
|     Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true], | ||||
|     Doctrine\Bundle\DoctrineCacheBundle\DoctrineCacheBundle::class => ['all' => true], | ||||
|     Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle::class => ['all' => true], | ||||
|     Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true], | ||||
|     Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true], | ||||
|     Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true], | ||||
|     Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle::class => ['all' => true], | ||||
|     Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true], | ||||
|     Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true], | ||||
|     Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true], | ||||
|     Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true, 'test' => true], | ||||
|     Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true], | ||||
|     Symfony\Bundle\WebServerBundle\WebServerBundle::class => ['dev' => true], | ||||
| ]; | ||||
							
								
								
									
										4
									
								
								application/config/packages/dev/debug.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								application/config/packages/dev/debug.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| debug: | ||||
|     # Forwards VarDumper Data clones to a centralized server allowing to inspect dumps on CLI or in your browser. | ||||
|     # See the "server:dump" command to start a new server. | ||||
|     dump_destination: "tcp://%env(VAR_DUMPER_SERVER)%" | ||||
							
								
								
									
										16
									
								
								application/config/packages/dev/easy_log_handler.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								application/config/packages/dev/easy_log_handler.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| services: | ||||
|     EasyCorp\EasyLog\EasyLogHandler: | ||||
|         public: false | ||||
|         arguments: ['%kernel.logs_dir%/%kernel.environment%.log'] | ||||
|  | ||||
| #// FIXME: How to add this configuration automatically without messing up with the monolog configuration? | ||||
| #monolog: | ||||
| #    handlers: | ||||
| #        buffered: | ||||
| #            type:     buffer | ||||
| #            handler:  easylog | ||||
| #            channels: ['!event'] | ||||
| #            level:    debug | ||||
| #        easylog: | ||||
| #            type: service | ||||
| #            id:   EasyCorp\EasyLog\EasyLogHandler | ||||
							
								
								
									
										19
									
								
								application/config/packages/dev/monolog.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								application/config/packages/dev/monolog.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| monolog: | ||||
|     handlers: | ||||
|         main: | ||||
|             type: stream | ||||
|             path: "%kernel.logs_dir%/%kernel.environment%.log" | ||||
|             level: debug | ||||
|             channels: ["!event"] | ||||
|         # uncomment to get logging in your browser | ||||
|         # you may have to allow bigger header sizes in your Web server configuration | ||||
|         #firephp: | ||||
|         #    type: firephp | ||||
|         #    level: info | ||||
|         #chromephp: | ||||
|         #    type: chromephp | ||||
|         #    level: info | ||||
|         console: | ||||
|             type: console | ||||
|             process_psr_3_messages: false | ||||
|             channels: ["!event", "!doctrine", "!console"] | ||||
							
								
								
									
										3
									
								
								application/config/packages/dev/routing.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								application/config/packages/dev/routing.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| framework: | ||||
|     router: | ||||
|         strict_requirements: true | ||||
							
								
								
									
										4
									
								
								application/config/packages/dev/swiftmailer.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								application/config/packages/dev/swiftmailer.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| # See https://symfony.com/doc/current/email/dev_environment.html | ||||
| swiftmailer: | ||||
|     # send all emails to a specific address | ||||
|     #delivery_addresses: ['me@example.com'] | ||||
							
								
								
									
										6
									
								
								application/config/packages/dev/web_profiler.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								application/config/packages/dev/web_profiler.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| web_profiler: | ||||
|     toolbar: true | ||||
|     intercept_redirects: false | ||||
|  | ||||
| framework: | ||||
|     profiler: { only_exceptions: false } | ||||
							
								
								
									
										29
									
								
								application/config/packages/doctrine.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								application/config/packages/doctrine.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,29 @@ | ||||
| parameters: | ||||
|     # Adds a fallback DATABASE_URL if the env var is not set. | ||||
|     # This allows you to run cache:warmup even if your | ||||
|     # environment variables are not available yet. | ||||
|     # You should not need to change this value. | ||||
|     env(DATABASE_URL): '' | ||||
|  | ||||
| doctrine: | ||||
|     dbal: | ||||
|         # configure these for your database server | ||||
|         driver: 'pdo_mysql' | ||||
|         server_version: '5.7' | ||||
|         charset: utf8mb4 | ||||
|         default_table_options: | ||||
|             charset: utf8mb4 | ||||
|             collate: utf8mb4_unicode_ci | ||||
|  | ||||
|         url: '%env(resolve:DATABASE_URL)%' | ||||
|     orm: | ||||
|         auto_generate_proxy_classes: '%kernel.debug%' | ||||
|         naming_strategy: doctrine.orm.naming_strategy.underscore | ||||
|         auto_mapping: true | ||||
|         mappings: | ||||
|             App: | ||||
|                 is_bundle: false | ||||
|                 type: annotation | ||||
|                 dir: '%kernel.project_dir%/src/Entity' | ||||
|                 prefix: 'App\Entity' | ||||
|                 alias: App | ||||
							
								
								
									
										5
									
								
								application/config/packages/doctrine_migrations.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								application/config/packages/doctrine_migrations.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| doctrine_migrations: | ||||
|     dir_name: '%kernel.project_dir%/src/Migrations' | ||||
|     # namespace is arbitrary but should be different from App\Migrations | ||||
|     # as migrations classes should NOT be autoloaded | ||||
|     namespace: DoctrineMigrations | ||||
							
								
								
									
										30
									
								
								application/config/packages/framework.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								application/config/packages/framework.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,30 @@ | ||||
| framework: | ||||
|     secret: '%env(APP_SECRET)%' | ||||
|     #default_locale: en | ||||
|     #csrf_protection: true | ||||
|     #http_method_override: true | ||||
|  | ||||
|     # Enables session support. Note that the session will ONLY be started if you read or write from it. | ||||
|     # Remove or comment this section to explicitly disable session support. | ||||
|     session: | ||||
|         handler_id: ~ | ||||
|  | ||||
|     #esi: true | ||||
|     #fragments: true | ||||
|     php_errors: | ||||
|         log: true | ||||
|  | ||||
|     cache: | ||||
|         # Put the unique name of your app here: the prefix seed | ||||
|         # is used to compute stable namespaces for cache keys. | ||||
|         #prefix_seed: your_vendor_name/app_name | ||||
|  | ||||
|         # The app cache caches to the filesystem by default. | ||||
|         # Other options include: | ||||
|  | ||||
|         # Redis | ||||
|         #app: cache.adapter.redis | ||||
|         #default_redis_provider: redis://localhost | ||||
|  | ||||
|         # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues) | ||||
|         #app: cache.adapter.apcu | ||||
							
								
								
									
										31
									
								
								application/config/packages/prod/doctrine.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								application/config/packages/prod/doctrine.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,31 @@ | ||||
| doctrine: | ||||
|     orm: | ||||
|         metadata_cache_driver: | ||||
|             type: service | ||||
|             id: doctrine.system_cache_provider | ||||
|         query_cache_driver: | ||||
|             type: service | ||||
|             id: doctrine.system_cache_provider | ||||
|         result_cache_driver: | ||||
|             type: service | ||||
|             id: doctrine.result_cache_provider | ||||
|  | ||||
| services: | ||||
|     doctrine.result_cache_provider: | ||||
|         class: Symfony\Component\Cache\DoctrineProvider | ||||
|         public: false | ||||
|         arguments: | ||||
|             - '@doctrine.result_cache_pool' | ||||
|     doctrine.system_cache_provider: | ||||
|         class: Symfony\Component\Cache\DoctrineProvider | ||||
|         public: false | ||||
|         arguments: | ||||
|             - '@doctrine.system_cache_pool' | ||||
|  | ||||
| framework: | ||||
|     cache: | ||||
|         pools: | ||||
|             doctrine.result_cache_pool: | ||||
|                 adapter: cache.app | ||||
|             doctrine.system_cache_pool: | ||||
|                 adapter: cache.system | ||||
							
								
								
									
										25
									
								
								application/config/packages/prod/monolog.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								application/config/packages/prod/monolog.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,25 @@ | ||||
| monolog: | ||||
|     handlers: | ||||
|         main: | ||||
|             type: fingers_crossed | ||||
|             action_level: error | ||||
|             handler: nested | ||||
|             excluded_404s: | ||||
|                 # regex: exclude all 404 errors from the logs | ||||
|                 - ^/ | ||||
|         nested: | ||||
|             type: stream | ||||
|             path: "%kernel.logs_dir%/%kernel.environment%.log" | ||||
|             level: debug | ||||
|         console: | ||||
|             type: console | ||||
|             process_psr_3_messages: false | ||||
|             channels: ["!event", "!doctrine"] | ||||
|         deprecation: | ||||
|             type: stream | ||||
|             path: "%kernel.logs_dir%/%kernel.environment%.deprecations.log" | ||||
|         deprecation_filter: | ||||
|             type: filter | ||||
|             handler: deprecation | ||||
|             max_level: info | ||||
|             channels: ["php"] | ||||
							
								
								
									
										3
									
								
								application/config/packages/routing.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								application/config/packages/routing.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| framework: | ||||
|     router: | ||||
|         strict_requirements: ~ | ||||
							
								
								
									
										24
									
								
								application/config/packages/security.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								application/config/packages/security.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,24 @@ | ||||
| security: | ||||
|     # https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers | ||||
|     providers: | ||||
|         in_memory: { memory: ~ } | ||||
|     firewalls: | ||||
|         dev: | ||||
|             pattern: ^/(_(profiler|wdt)|css|images|js)/ | ||||
|             security: false | ||||
|         main: | ||||
|             anonymous: true | ||||
|  | ||||
|             # activate different ways to authenticate | ||||
|  | ||||
|             # http_basic: true | ||||
|             # https://symfony.com/doc/current/security.html#a-configuring-how-your-users-will-authenticate | ||||
|  | ||||
|             # form_login: true | ||||
|             # https://symfony.com/doc/current/security/form_login_setup.html | ||||
|  | ||||
|     # Easy way to control access for large sections of your site | ||||
|     # Note: Only the *first* access control that matches will be used | ||||
|     access_control: | ||||
|         # - { path: ^/admin, roles: ROLE_ADMIN } | ||||
|         # - { path: ^/profile, roles: ROLE_USER } | ||||
							
								
								
									
										3
									
								
								application/config/packages/sensio_framework_extra.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								application/config/packages/sensio_framework_extra.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| sensio_framework_extra: | ||||
|     router: | ||||
|         annotations: false | ||||
							
								
								
									
										3
									
								
								application/config/packages/swiftmailer.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								application/config/packages/swiftmailer.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| swiftmailer: | ||||
|     url: '%env(MAILER_URL)%' | ||||
|     spool: { type: 'memory' } | ||||
							
								
								
									
										4
									
								
								application/config/packages/test/framework.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								application/config/packages/test/framework.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| framework: | ||||
|     test: true | ||||
|     session: | ||||
|         storage_id: session.storage.mock_file | ||||
							
								
								
									
										7
									
								
								application/config/packages/test/monolog.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								application/config/packages/test/monolog.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| monolog: | ||||
|     handlers: | ||||
|         main: | ||||
|             type: stream | ||||
|             path: "%kernel.logs_dir%/%kernel.environment%.log" | ||||
|             level: debug | ||||
|             channels: ["!event"] | ||||
							
								
								
									
										3
									
								
								application/config/packages/test/routing.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								application/config/packages/test/routing.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| framework: | ||||
|     router: | ||||
|         strict_requirements: true | ||||
							
								
								
									
										2
									
								
								application/config/packages/test/swiftmailer.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								application/config/packages/test/swiftmailer.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| swiftmailer: | ||||
|     disable_delivery: true | ||||
							
								
								
									
										6
									
								
								application/config/packages/test/web_profiler.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								application/config/packages/test/web_profiler.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| web_profiler: | ||||
|     toolbar: false | ||||
|     intercept_redirects: false | ||||
|  | ||||
| framework: | ||||
|     profiler: { collect: false } | ||||
							
								
								
									
										7
									
								
								application/config/packages/translation.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								application/config/packages/translation.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| framework: | ||||
|     default_locale: '%locale%' | ||||
|     translator: | ||||
|         paths: | ||||
|             - '%kernel.project_dir%/translations' | ||||
|         fallbacks: | ||||
|             - '%locale%' | ||||
							
								
								
									
										4
									
								
								application/config/packages/twig.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								application/config/packages/twig.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| twig: | ||||
|     paths: ['%kernel.project_dir%/templates'] | ||||
|     debug: '%kernel.debug%' | ||||
|     strict_variables: '%kernel.debug%' | ||||
							
								
								
									
										3
									
								
								application/config/packages/validator.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								application/config/packages/validator.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| framework: | ||||
|     validation: | ||||
|         email_validation_mode: html5 | ||||
							
								
								
									
										3
									
								
								application/config/routes.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								application/config/routes.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| #index: | ||||
| #    path: / | ||||
| #    controller: App\Controller\DefaultController::index | ||||
							
								
								
									
										3
									
								
								application/config/routes/annotations.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								application/config/routes/annotations.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| controllers: | ||||
|     resource: ../../src/Controller/ | ||||
|     type: annotation | ||||
							
								
								
									
										3
									
								
								application/config/routes/dev/twig.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								application/config/routes/dev/twig.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| _errors: | ||||
|     resource: '@TwigBundle/Resources/config/routing/errors.xml' | ||||
|     prefix: /_error | ||||
							
								
								
									
										7
									
								
								application/config/routes/dev/web_profiler.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								application/config/routes/dev/web_profiler.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| web_profiler_wdt: | ||||
|     resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml' | ||||
|     prefix: /_wdt | ||||
|  | ||||
| web_profiler_profiler: | ||||
|     resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml' | ||||
|     prefix: /_profiler | ||||
							
								
								
									
										31
									
								
								application/config/services.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								application/config/services.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,31 @@ | ||||
| # This file is the entry point to configure your own services. | ||||
| # Files in the packages/ subdirectory configure your dependencies. | ||||
|  | ||||
| # Put parameters here that don't need to change on each machine where the app is deployed | ||||
| # https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration | ||||
| parameters: | ||||
|     locale: 'en' | ||||
|  | ||||
| services: | ||||
|     # default configuration for services in *this* file | ||||
|     _defaults: | ||||
|         autowire: true      # Automatically injects dependencies in your services. | ||||
|         autoconfigure: true # Automatically registers your services as commands, event subscribers, etc. | ||||
|         public: false       # Allows optimizing the container by removing unused services; this also means | ||||
|                             # fetching services directly from the container via $container->get() won't work. | ||||
|                             # The best practice is to be explicit about your dependencies anyway. | ||||
|  | ||||
|     # makes classes in src/ available to be used as services | ||||
|     # this creates a service per class whose id is the fully-qualified class name | ||||
|     App\: | ||||
|         resource: '../src/*' | ||||
|         exclude: '../src/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}' | ||||
|  | ||||
|     # controllers are imported separately to make sure services can be injected | ||||
|     # as action arguments even if you don't extend any base controller class | ||||
|     App\Controller\: | ||||
|         resource: '../src/Controller' | ||||
|         tags: ['controller.service_arguments'] | ||||
|  | ||||
|     # add more service definitions when explicit configuration is needed | ||||
|     # please note that last definitions always *replace* previous ones | ||||
							
								
								
									
										35
									
								
								application/phpunit.xml.dist
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								application/phpunit.xml.dist
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,35 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
|  | ||||
| <!-- https://phpunit.de/manual/current/en/appendixes.configuration.html --> | ||||
| <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||||
|          xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.5/phpunit.xsd" | ||||
|          backupGlobals="false" | ||||
|          colors="true" | ||||
|          bootstrap="vendor/autoload.php" | ||||
| > | ||||
|     <php> | ||||
|         <ini name="error_reporting" value="-1" /> | ||||
|         <env name="KERNEL_CLASS" value="App\Kernel" /> | ||||
|         <env name="APP_ENV" value="test" /> | ||||
|         <env name="APP_DEBUG" value="1" /> | ||||
|         <env name="APP_SECRET" value="s$cretf0rt3st" /> | ||||
|         <env name="SHELL_VERBOSITY" value="-1" /> | ||||
|         <!-- define your env variables for the test env here --> | ||||
|     </php> | ||||
|  | ||||
|     <testsuites> | ||||
|         <testsuite name="Project Test Suite"> | ||||
|             <directory>tests/</directory> | ||||
|         </testsuite> | ||||
|     </testsuites> | ||||
|  | ||||
|     <filter> | ||||
|         <whitelist> | ||||
|             <directory>./src/</directory> | ||||
|         </whitelist> | ||||
|     </filter> | ||||
|  | ||||
|     <listeners> | ||||
|         <listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" /> | ||||
|     </listeners> | ||||
| </phpunit> | ||||
							
								
								
									
										39
									
								
								application/public/index.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								application/public/index.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,39 @@ | ||||
| <?php | ||||
|  | ||||
| use App\Kernel; | ||||
| use Symfony\Component\Debug\Debug; | ||||
| use Symfony\Component\Dotenv\Dotenv; | ||||
| use Symfony\Component\HttpFoundation\Request; | ||||
|  | ||||
| require __DIR__.'/../vendor/autoload.php'; | ||||
|  | ||||
| // The check is to ensure we don't use .env in production | ||||
| if (!isset($_SERVER['APP_ENV'])) { | ||||
|     if (!class_exists(Dotenv::class)) { | ||||
|         throw new \RuntimeException('APP_ENV environment variable is not defined. You need to define environment variables for configuration or add "symfony/dotenv" as a Composer dependency to load variables from a .env file.'); | ||||
|     } | ||||
|     (new Dotenv())->load(__DIR__.'/../.env'); | ||||
| } | ||||
|  | ||||
| $env = $_SERVER['APP_ENV'] ?? 'dev'; | ||||
| $debug = (bool) ($_SERVER['APP_DEBUG'] ?? ('prod' !== $env)); | ||||
|  | ||||
| if ($debug) { | ||||
|     umask(0000); | ||||
|  | ||||
|     Debug::enable(); | ||||
| } | ||||
|  | ||||
| if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? false) { | ||||
|     Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_ALL ^ Request::HEADER_X_FORWARDED_HOST); | ||||
| } | ||||
|  | ||||
| if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? false) { | ||||
|     Request::setTrustedHosts(explode(',', $trustedHosts)); | ||||
| } | ||||
|  | ||||
| $kernel = new Kernel($env, $debug); | ||||
| $request = Request::createFromGlobals(); | ||||
| $response = $kernel->handle($request); | ||||
| $response->send(); | ||||
| $kernel->terminate($request, $response); | ||||
							
								
								
									
										0
									
								
								application/src/Controller/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								application/src/Controller/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
								
								
									
										0
									
								
								application/src/Entity/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								application/src/Entity/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
								
								
									
										61
									
								
								application/src/Kernel.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										61
									
								
								application/src/Kernel.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,61 @@ | ||||
| <?php | ||||
|  | ||||
| namespace App; | ||||
|  | ||||
| use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait; | ||||
| use Symfony\Component\Config\Loader\LoaderInterface; | ||||
| use Symfony\Component\Config\Resource\FileResource; | ||||
| use Symfony\Component\DependencyInjection\ContainerBuilder; | ||||
| use Symfony\Component\HttpKernel\Kernel as BaseKernel; | ||||
| use Symfony\Component\Routing\RouteCollectionBuilder; | ||||
|  | ||||
| class Kernel extends BaseKernel | ||||
| { | ||||
|     use MicroKernelTrait; | ||||
|  | ||||
|     const CONFIG_EXTS = '.{php,xml,yaml,yml}'; | ||||
|  | ||||
|     public function getCacheDir() | ||||
|     { | ||||
|         return $this->getProjectDir().'/var/cache/'.$this->environment; | ||||
|     } | ||||
|  | ||||
|     public function getLogDir() | ||||
|     { | ||||
|         return $this->getProjectDir().'/var/log'; | ||||
|     } | ||||
|  | ||||
|     public function registerBundles() | ||||
|     { | ||||
|         $contents = require $this->getProjectDir().'/config/bundles.php'; | ||||
|         foreach ($contents as $class => $envs) { | ||||
|             if (isset($envs['all']) || isset($envs[$this->environment])) { | ||||
|                 yield new $class(); | ||||
|             } | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader) | ||||
|     { | ||||
|         $container->addResource(new FileResource($this->getProjectDir().'/config/bundles.php')); | ||||
|         // Feel free to remove the "container.autowiring.strict_mode" parameter | ||||
|         // if you are using symfony/dependency-injection 4.0+ as it's the default behavior | ||||
|         $container->setParameter('container.autowiring.strict_mode', true); | ||||
|         $container->setParameter('container.dumper.inline_class_loader', true); | ||||
|         $confDir = $this->getProjectDir().'/config'; | ||||
|  | ||||
|         $loader->load($confDir.'/{packages}/*'.self::CONFIG_EXTS, 'glob'); | ||||
|         $loader->load($confDir.'/{packages}/'.$this->environment.'/**/*'.self::CONFIG_EXTS, 'glob'); | ||||
|         $loader->load($confDir.'/{services}'.self::CONFIG_EXTS, 'glob'); | ||||
|         $loader->load($confDir.'/{services}_'.$this->environment.self::CONFIG_EXTS, 'glob'); | ||||
|     } | ||||
|  | ||||
|     protected function configureRoutes(RouteCollectionBuilder $routes) | ||||
|     { | ||||
|         $confDir = $this->getProjectDir().'/config'; | ||||
|  | ||||
|         $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob'); | ||||
|         $routes->import($confDir.'/{routes}/'.$this->environment.'/**/*'.self::CONFIG_EXTS, '/', 'glob'); | ||||
|         $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob'); | ||||
|     } | ||||
| } | ||||
							
								
								
									
										0
									
								
								application/src/Migrations/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								application/src/Migrations/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
								
								
									
										0
									
								
								application/src/Repository/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								application/src/Repository/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
								
								
									
										395
									
								
								application/symfony.lock
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										395
									
								
								application/symfony.lock
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,395 @@ | ||||
| { | ||||
|     "doctrine/annotations": { | ||||
|         "version": "1.0", | ||||
|         "recipe": { | ||||
|             "repo": "github.com/symfony/recipes", | ||||
|             "branch": "master", | ||||
|             "version": "1.0", | ||||
|             "ref": "cb4152ebcadbe620ea2261da1a1c5a9b8cea7672" | ||||
|         } | ||||
|     }, | ||||
|     "doctrine/cache": { | ||||
|         "version": "v1.8.0" | ||||
|     }, | ||||
|     "doctrine/collections": { | ||||
|         "version": "v1.5.0" | ||||
|     }, | ||||
|     "doctrine/common": { | ||||
|         "version": "v2.9.0" | ||||
|     }, | ||||
|     "doctrine/dbal": { | ||||
|         "version": "v2.8.0" | ||||
|     }, | ||||
|     "doctrine/doctrine-bundle": { | ||||
|         "version": "1.6", | ||||
|         "recipe": { | ||||
|             "repo": "github.com/symfony/recipes", | ||||
|             "branch": "master", | ||||
|             "version": "1.6", | ||||
|             "ref": "ae205d5114e719deb64d2110f56ef910787d1e04" | ||||
|         } | ||||
|     }, | ||||
|     "doctrine/doctrine-cache-bundle": { | ||||
|         "version": "1.3.3" | ||||
|     }, | ||||
|     "doctrine/doctrine-migrations-bundle": { | ||||
|         "version": "1.2", | ||||
|         "recipe": { | ||||
|             "repo": "github.com/symfony/recipes", | ||||
|             "branch": "master", | ||||
|             "version": "1.2", | ||||
|             "ref": "c1431086fec31f17fbcfe6d6d7e92059458facc1" | ||||
|         } | ||||
|     }, | ||||
|     "doctrine/event-manager": { | ||||
|         "version": "v1.0.0" | ||||
|     }, | ||||
|     "doctrine/inflector": { | ||||
|         "version": "v1.3.0" | ||||
|     }, | ||||
|     "doctrine/instantiator": { | ||||
|         "version": "1.1.0" | ||||
|     }, | ||||
|     "doctrine/lexer": { | ||||
|         "version": "v1.0.1" | ||||
|     }, | ||||
|     "doctrine/migrations": { | ||||
|         "version": "v1.8.1" | ||||
|     }, | ||||
|     "doctrine/orm": { | ||||
|         "version": "v2.6.2" | ||||
|     }, | ||||
|     "doctrine/persistence": { | ||||
|         "version": "v1.0.1" | ||||
|     }, | ||||
|     "doctrine/reflection": { | ||||
|         "version": "v1.0.0" | ||||
|     }, | ||||
|     "easycorp/easy-log-handler": { | ||||
|         "version": "1.0", | ||||
|         "recipe": { | ||||
|             "repo": "github.com/symfony/recipes", | ||||
|             "branch": "master", | ||||
|             "version": "1.0", | ||||
|             "ref": "70062abc2cd58794d2a90274502f81b55cd9951b" | ||||
|         } | ||||
|     }, | ||||
|     "egulias/email-validator": { | ||||
|         "version": "2.1.5" | ||||
|     }, | ||||
|     "fig/link-util": { | ||||
|         "version": "1.0.0" | ||||
|     }, | ||||
|     "jdorn/sql-formatter": { | ||||
|         "version": "v1.2.17" | ||||
|     }, | ||||
|     "monolog/monolog": { | ||||
|         "version": "1.23.0" | ||||
|     }, | ||||
|     "nikic/php-parser": { | ||||
|         "version": "v4.0.3" | ||||
|     }, | ||||
|     "ocramius/proxy-manager": { | ||||
|         "version": "2.1.1" | ||||
|     }, | ||||
|     "phpdocumentor/reflection-common": { | ||||
|         "version": "1.0.1" | ||||
|     }, | ||||
|     "phpdocumentor/reflection-docblock": { | ||||
|         "version": "4.3.0" | ||||
|     }, | ||||
|     "phpdocumentor/type-resolver": { | ||||
|         "version": "0.4.0" | ||||
|     }, | ||||
|     "psr/cache": { | ||||
|         "version": "1.0.1" | ||||
|     }, | ||||
|     "psr/container": { | ||||
|         "version": "1.0.0" | ||||
|     }, | ||||
|     "psr/link": { | ||||
|         "version": "1.0.0" | ||||
|     }, | ||||
|     "psr/log": { | ||||
|         "version": "1.0.2" | ||||
|     }, | ||||
|     "psr/simple-cache": { | ||||
|         "version": "1.0.1" | ||||
|     }, | ||||
|     "sensio/framework-extra-bundle": { | ||||
|         "version": "5.2", | ||||
|         "recipe": { | ||||
|             "repo": "github.com/symfony/recipes", | ||||
|             "branch": "master", | ||||
|             "version": "5.2", | ||||
|             "ref": "fb7e19da7f013d0d422fa9bce16f5c510e27609b" | ||||
|         } | ||||
|     }, | ||||
|     "swiftmailer/swiftmailer": { | ||||
|         "version": "v6.1.2" | ||||
|     }, | ||||
|     "symfony/asset": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/browser-kit": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/cache": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/config": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/console": { | ||||
|         "version": "3.3", | ||||
|         "recipe": { | ||||
|             "repo": "github.com/symfony/recipes", | ||||
|             "branch": "master", | ||||
|             "version": "3.3", | ||||
|             "ref": "e3868d2f4a5104f19f844fe551099a00c6562527" | ||||
|         } | ||||
|     }, | ||||
|     "symfony/css-selector": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/debug": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/debug-bundle": { | ||||
|         "version": "4.1", | ||||
|         "recipe": { | ||||
|             "repo": "github.com/symfony/recipes", | ||||
|             "branch": "master", | ||||
|             "version": "4.1", | ||||
|             "ref": "f8863cbad2f2e58c4b65fa1eac892ab189971bea" | ||||
|         } | ||||
|     }, | ||||
|     "symfony/debug-pack": { | ||||
|         "version": "v1.0.6" | ||||
|     }, | ||||
|     "symfony/dependency-injection": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/doctrine-bridge": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/dom-crawler": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/dotenv": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/event-dispatcher": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/expression-language": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/filesystem": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/finder": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/flex": { | ||||
|         "version": "1.0", | ||||
|         "recipe": { | ||||
|             "repo": "github.com/symfony/recipes", | ||||
|             "branch": "master", | ||||
|             "version": "1.0", | ||||
|             "ref": "e921bdbfe20cdefa3b82f379d1cd36df1bc8d115" | ||||
|         } | ||||
|     }, | ||||
|     "symfony/form": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/framework-bundle": { | ||||
|         "version": "3.3", | ||||
|         "recipe": { | ||||
|             "repo": "github.com/symfony/recipes", | ||||
|             "branch": "master", | ||||
|             "version": "3.3", | ||||
|             "ref": "87c585d24de9f43bca80ebcfd5cf5cb39445d95f" | ||||
|         } | ||||
|     }, | ||||
|     "symfony/http-foundation": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/http-kernel": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/inflector": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/intl": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/maker-bundle": { | ||||
|         "version": "1.0", | ||||
|         "recipe": { | ||||
|             "repo": "github.com/symfony/recipes", | ||||
|             "branch": "master", | ||||
|             "version": "1.0", | ||||
|             "ref": "fadbfe33303a76e25cb63401050439aa9b1a9c7f" | ||||
|         } | ||||
|     }, | ||||
|     "symfony/monolog-bridge": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/monolog-bundle": { | ||||
|         "version": "3.1", | ||||
|         "recipe": { | ||||
|             "repo": "github.com/symfony/recipes", | ||||
|             "branch": "master", | ||||
|             "version": "3.1", | ||||
|             "ref": "18ebf5a940573a20de06f9c4060101eeb438cf3d" | ||||
|         } | ||||
|     }, | ||||
|     "symfony/options-resolver": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/orm-pack": { | ||||
|         "version": "v1.0.5" | ||||
|     }, | ||||
|     "symfony/phpunit-bridge": { | ||||
|         "version": "4.1", | ||||
|         "recipe": { | ||||
|             "repo": "github.com/symfony/recipes", | ||||
|             "branch": "master", | ||||
|             "version": "4.1", | ||||
|             "ref": "1a47f76dcd9d5d4da1fab54fb15450bae3704c5e" | ||||
|         } | ||||
|     }, | ||||
|     "symfony/polyfill-intl-icu": { | ||||
|         "version": "v1.9.0" | ||||
|     }, | ||||
|     "symfony/polyfill-mbstring": { | ||||
|         "version": "v1.9.0" | ||||
|     }, | ||||
|     "symfony/polyfill-php72": { | ||||
|         "version": "v1.9.0" | ||||
|     }, | ||||
|     "symfony/process": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/profiler-pack": { | ||||
|         "version": "v1.0.3" | ||||
|     }, | ||||
|     "symfony/property-access": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/property-info": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/routing": { | ||||
|         "version": "4.0", | ||||
|         "recipe": { | ||||
|             "repo": "github.com/symfony/recipes", | ||||
|             "branch": "master", | ||||
|             "version": "4.0", | ||||
|             "ref": "5f514d9d3b8a8aac3d62ae6a86b18b90ed0c7826" | ||||
|         } | ||||
|     }, | ||||
|     "symfony/security": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/security-bundle": { | ||||
|         "version": "3.3", | ||||
|         "recipe": { | ||||
|             "repo": "github.com/symfony/recipes", | ||||
|             "branch": "master", | ||||
|             "version": "3.3", | ||||
|             "ref": "f8a63faa0d9521526499c0a8f403c9964ecb0527" | ||||
|         } | ||||
|     }, | ||||
|     "symfony/serializer": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/serializer-pack": { | ||||
|         "version": "v1.0.1" | ||||
|     }, | ||||
|     "symfony/stopwatch": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/swiftmailer-bundle": { | ||||
|         "version": "2.5", | ||||
|         "recipe": { | ||||
|             "repo": "github.com/symfony/recipes", | ||||
|             "branch": "master", | ||||
|             "version": "2.5", | ||||
|             "ref": "3db029c03e452b4a23f7fc45cec7c922c2247eb8" | ||||
|         } | ||||
|     }, | ||||
|     "symfony/test-pack": { | ||||
|         "version": "v1.0.2" | ||||
|     }, | ||||
|     "symfony/translation": { | ||||
|         "version": "3.3", | ||||
|         "recipe": { | ||||
|             "repo": "github.com/symfony/recipes", | ||||
|             "branch": "master", | ||||
|             "version": "3.3", | ||||
|             "ref": "6bcd6c570c017ea6ae5a7a6a027c929fd3542cd8" | ||||
|         } | ||||
|     }, | ||||
|     "symfony/twig-bridge": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/twig-bundle": { | ||||
|         "version": "3.3", | ||||
|         "recipe": { | ||||
|             "repo": "github.com/symfony/recipes", | ||||
|             "branch": "master", | ||||
|             "version": "3.3", | ||||
|             "ref": "f75ac166398e107796ca94cc57fa1edaa06ec47f" | ||||
|         } | ||||
|     }, | ||||
|     "symfony/validator": { | ||||
|         "version": "4.1", | ||||
|         "recipe": { | ||||
|             "repo": "github.com/symfony/recipes", | ||||
|             "branch": "master", | ||||
|             "version": "4.1", | ||||
|             "ref": "0cdc982334f45d554957a6167e030482795bf9d7" | ||||
|         } | ||||
|     }, | ||||
|     "symfony/var-dumper": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/web-link": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "symfony/web-profiler-bundle": { | ||||
|         "version": "3.3", | ||||
|         "recipe": { | ||||
|             "repo": "github.com/symfony/recipes", | ||||
|             "branch": "master", | ||||
|             "version": "3.3", | ||||
|             "ref": "6bdfa1a95f6b2e677ab985cd1af2eae35d62e0f6" | ||||
|         } | ||||
|     }, | ||||
|     "symfony/web-server-bundle": { | ||||
|         "version": "3.3", | ||||
|         "recipe": { | ||||
|             "repo": "github.com/symfony/recipes", | ||||
|             "branch": "master", | ||||
|             "version": "3.3", | ||||
|             "ref": "dae9b39fd6717970be7601101ce5aa960bf53d9a" | ||||
|         } | ||||
|     }, | ||||
|     "symfony/yaml": { | ||||
|         "version": "v4.1.4" | ||||
|     }, | ||||
|     "twig/twig": { | ||||
|         "version": "v2.5.0" | ||||
|     }, | ||||
|     "webmozart/assert": { | ||||
|         "version": "1.3.0" | ||||
|     }, | ||||
|     "zendframework/zend-code": { | ||||
|         "version": "3.3.1" | ||||
|     }, | ||||
|     "zendframework/zend-eventmanager": { | ||||
|         "version": "3.2.1" | ||||
|     } | ||||
| } | ||||
							
								
								
									
										12
									
								
								application/templates/base.html.twig
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								application/templates/base.html.twig
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| <!DOCTYPE html> | ||||
| <html> | ||||
|     <head> | ||||
|         <meta charset="UTF-8"> | ||||
|         <title>{% block title %}Welcome!{% endblock %}</title> | ||||
|         {% block stylesheets %}{% endblock %} | ||||
|     </head> | ||||
|     <body> | ||||
|         {% block body %}{% endblock %} | ||||
|         {% block javascripts %}{% endblock %} | ||||
|     </body> | ||||
| </html> | ||||
							
								
								
									
										0
									
								
								application/tests/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								application/tests/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
								
								
									
										0
									
								
								application/translations/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								application/translations/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
		Reference in New Issue
	
	Block a user