mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
52 lines
2.4 KiB
JSON
52 lines
2.4 KiB
JSON
{
|
|
"manifests": {
|
|
"sulu/form-bundle": {
|
|
"manifest": {
|
|
"bundles": {
|
|
"Sulu\\Bundle\\FormBundle\\SuluFormBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
},
|
|
"post-install-output": [
|
|
" * The <fg=green>SuluFormBundle</> is almost ready:",
|
|
" 1. Print the sql statements required to update your database schema by running <info>php bin/console doctrine:schema:update --dump-sql</>.",
|
|
" 2. If the statements look fine to you, run the same command using <info>--force</> to execute them.",
|
|
" 3. Make sure your user has all the necessary permissions for the <fg=green>SuluFormBundle</>.",
|
|
" 4. Use <info>bin/console sulu:form:generate-form</info> to create a dummy form.",
|
|
"",
|
|
" * <fg=blue>Read</> the documentation at <comment>https://github.com/sulu/SuluFormBundle/blob/3.0/Resources/doc/index.md</>"
|
|
]
|
|
},
|
|
"files": {
|
|
"config/packages/sulu_form.yaml": {
|
|
"contents": [
|
|
"sulu_form:",
|
|
"# csrf_protection: true # requires additional changes see: https://github.com/sulu/SuluFormBundle/blob/3.0/Resources/doc/csrf.md",
|
|
" mail:",
|
|
" from: \"%env(SULU_ADMIN_EMAIL)%\"",
|
|
" to: \"%env(SULU_ADMIN_EMAIL)%\"",
|
|
" sender: \"%env(SULU_ADMIN_EMAIL)%\"",
|
|
" media:",
|
|
" protected: true",
|
|
""
|
|
],
|
|
"executable": false
|
|
},
|
|
"config/routes/sulu_form_admin.yaml": {
|
|
"contents": [
|
|
"sulu_form_api:",
|
|
" resource: \"@SuluFormBundle/Resources/config/routing_api.yaml\"",
|
|
" prefix: /admin/api",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "81eb45accd3783bde40cb768bf931ec98e6307a8"
|
|
}
|
|
}
|
|
}
|