Files
symfony-flex-recipes/symfony/framework-bundle/manifest.json
T

51 lines
1.7 KiB
JSON

{
"bundles": {
"Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle": ["all"]
},
"copy-from-recipe": {
"etc/": "%ETC_DIR%/",
"src/": "%SRC_DIR%/",
"web/": "%WEB_DIR%/"
},
"composer-scripts": {
"make cache-warmup": "script",
"assets:install --symlink --relative %WEB_DIR%": "symfony-cmd"
},
"env": {
"APP_ENV": "dev",
"APP_DEBUG": "1",
"APP_SECRET": "%generate(secret)%"
},
"makefile": [
"cache-clear:",
"\t@test -f bin/console && bin/console cache:clear --no-warmup || rm -rf var/cache/*",
".PHONY: cache-clear",
"cache-warmup: cache-clear",
"\t@test -f bin/console && bin/console cache:warmup || echo \"cannot warmup the cache (needs symfony/console)\"",
".PHONY: cache-warmup",
"serve:",
"\t@echo \"\\033[32;49mServer listening on http://127.0.0.1:8000\\033[39m\"",
"\t@echo \"Quit the server with CTRL-C.\"",
"\t@echo \"Run \\033[32mcomposer require symfony/web-server-bundle\\033[39m for a better web server\"",
"\tphp -S 127.0.0.1:8000 -t web",
".PHONY: serve"
],
"gitignore": [
".env",
"/var/",
"/vendor/",
"/web/bundles/"
],
"post-install-output": [
"<bg=blue;fg=white> </>",
"<bg=blue;fg=white> What's next? </>",
"<bg=blue;fg=white> </>",
"",
" * <fg=blue>Run</> your application:",
" 1. Execute the <comment>make serve</comment> command;",
" 2. Browse to the <comment>http://localhost:8000/</comment> URL.",
"",
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/doc</comment>"
]
}