youwe/path-manager

This package is abandoned and no longer maintained. No replacement package was suggested.

0.1.6 2016-08-11 13:04 UTC

This package is not auto-updated.

Last update: 2017-01-31 12:34:59 UTC


README

Version: Pimcore 3.x / 4

Developed by: Roelf

Reference / latest developments: Roelf

Usage and examples

This will create a path for you in the pimcore OBJECT tree.

   $parentId = \PathManager\FolderHelper::getOrCreateSubfolder($newObjectBaseFolderPath, $subFolderName);
   $parent = \PathManager\FolderHelper::getOrCreateFolder($folderName);

Installation

Plugin can be installed through composer. Add json to your composer.json:

composer require youwe/path-manager

Also, add this to your .gitignore:

/plugins/PathManager

Plugin development

To create a new version, check out the master branch somewhere and go:

git tag 0.1.0
git push origin --tags