diff --git a/league/flysystem-bundle/1.0/config/packages/flysystem.yaml b/league/flysystem-bundle/1.0/config/packages/flysystem.yaml new file mode 100644 index 00000000..f8ce4d03 --- /dev/null +++ b/league/flysystem-bundle/1.0/config/packages/flysystem.yaml @@ -0,0 +1,7 @@ +# Read the documentation at https://github.com/thephpleague/flysystem-bundle/blob/master/docs/1-getting-started.md +flysystem: + storages: + default.storage: + adapter: 'local' + options: + directory: '%kernel.project_dir%/%VAR_DIR%/storage/default' diff --git a/league/flysystem-bundle/1.0/manifest.json b/league/flysystem-bundle/1.0/manifest.json new file mode 100644 index 00000000..dda2e723 --- /dev/null +++ b/league/flysystem-bundle/1.0/manifest.json @@ -0,0 +1,9 @@ +{ + "bundles": { + "League\\FlysystemBundle\\FlysystemBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "var/storage/": "%VAR_DIR%/storage/" + } +} diff --git a/league/flysystem-bundle/1.0/post-install.txt b/league/flysystem-bundle/1.0/post-install.txt new file mode 100644 index 00000000..8df4122e --- /dev/null +++ b/league/flysystem-bundle/1.0/post-install.txt @@ -0,0 +1,16 @@ + + You just installed league/flysystem-bundle! + What's next? + + + * Use the default storage immediately: + + public function __construct(FilesystemInterface $defaultStorage) + { + ... + } + + * Configure your own storages in config/packages/flysystem.yaml. + + * Read the documentation at: + https://github.com/thephpleague/flysystem-bundle/blob/master/docs/1-getting-started.md diff --git a/league/flysystem-bundle/1.0/var/storage/.gitignore b/league/flysystem-bundle/1.0/var/storage/.gitignore new file mode 100644 index 00000000..e69de29b