torqit / pimcore-folder-creator-bundle
Installs: 30 512
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 1
Type:pimcore-bundle
pkg:composer/torqit/pimcore-folder-creator-bundle
Requires
- pimcore/pimcore: ^12.0
README
This bundle will use the layout in config/folders.yaml to create and save a folder layout in the pimcore admin. It will not delete and remove existing folders. It will check to ensure the folder in the template is at the location it expects. In the repo, their is an example folders.yaml file, with the layout the command expects.
Installing the package via composer
This bundle is easily installed via composer: composer require torqit/pimcore-folder-creator-bundle
Steps to setting up the layout of your folder structure in pimcore admin:
- Create a
folders.yamlfile, with the layout you require. - Place the
folders.yamlfile you created in configuration yaml folder:config/folders.yaml. - Make sure you register the
FolderCreatorBundlein yourKernel.php. Registering the bundle is as easy as adding a line in the registerBundlesToCollection function, like so:$collection->addBundle(new \TorqIT\FolderCreatorBundle\FolderCreatorBundle);. - Run the bundle, with the command:
./bin/console torq:folder-creator