Add nyholm/sunflower (#1274)

This commit is contained in:
Tobias Nyholm
2022-02-19 11:52:27 +01:00
committed by GitHub
parent 8d5aa5871e
commit f682c8fa87
5 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
<?php
return [];

View File

View File

@@ -0,0 +1,17 @@
# 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:
services:
_defaults:
autowire: true
autoconfigure: true
App\:
resource: '../src/'
exclude:
- '../src/Entity/'
- '../src/Kernel.php'

View File

@@ -0,0 +1,16 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"src/": "%SRC_DIR%/"
},
"env": {
"APP_ENV": "dev"
},
"gitignore": [
"/.env.local",
"/.env.local.php",
"/.env.*.local",
"/%VAR_DIR%/",
"/vendor/"
]
}

View File

@@ -0,0 +1,11 @@
<?php
declare(strict_types=1);
namespace App;
use Nyholm\SunflowerKernel;
class Kernel extends SunflowerKernel
{
}