Add softspring media-bundle (#1641)

* Add softspring media-bundle

* Add postinstall
This commit is contained in:
Javi H. Gil
2024-07-13 11:41:50 +02:00
committed by GitHub
parent dd64bbb10b
commit 893ee1407f
3 changed files with 20 additions and 0 deletions
@@ -0,0 +1,10 @@
imports:
- { resource: '@SfsMediaBundle/config/security/admin_role_hierarchy.yaml' }
sfs_media:
driver: filesystem
filesystem:
path: '%kernel.project_dir%/public/media'
url: '/media'
media:
admin_controller: true
@@ -0,0 +1,8 @@
{
"bundles": {
"Softspring\\MediaBundle\\SfsMediaBundle": ["all"]
},
"copy-from-recipe": {
"config/": "config/"
}
}
@@ -0,0 +1,2 @@
* The <fg=green>SfsMediaBundle</> is ready to use.
* <fg=blue>Read</> the documentation at <comment>https://github.com/softspring/media-bundle/blob/5.2/README.md</>