webiny / folderbuilder
FolderBuilder turns existing directory trees into JSON for use on http://fb.webiny.com
Installs: 34
Dependents: 0
Suggesters: 0
Security: 0
Stars: 31
Watchers: 16
Forks: 10
Language:CSS
pkg:composer/webiny/folderbuilder
This package is not auto-updated.
Last update: 2025-09-27 23:11:34 UTC
README
Folder builder tool to help developers in the planning stage of their projects
View live demo: http://fb.webiny.com/
Using
You can use it directly via structure.php
:
- Read entire folder tree:
php structure.php /path/to/your/folder > myStructure.json
- Limit depth to 2 subfolders:
php structure.php /path/to/your/folder 2 > myStructure.json
or install globally with Composer and use from anywhere:
composer global require webiny/folderbuilder
then use it on any folder:
wfb ~/Code > output.json
or limit depth:
wfb ~/Code 2 > output.json
Contributing
Feel free to send PRs.
License
MIT
Todo
- generate folders and files from pre-existing JSON structure, not just the other way around
- a test or two?