PHPackages                             webiny/folderbuilder - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. webiny/folderbuilder

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

webiny/folderbuilder
====================

FolderBuilder turns existing directory trees into JSON for use on http://fb.webiny.com

1.0(11y ago)31349[3 issues](https://github.com/Webiny/FolderBuilder/issues)MITCSS

Since Jun 4Pushed 10y ago14 watchersCompare

[ Source](https://github.com/Webiny/FolderBuilder)[ Packagist](https://packagist.org/packages/webiny/folderbuilder)[ RSS](/packages/webiny-folderbuilder/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

FolderBuilder
=============

[](#folderbuilder)

Folder builder tool to help developers in the planning stage of their projects

View live demo:

Using
-----

[](#using)

You can use it directly via `structure.php`:

1. Read entire folder tree:

```
php structure.php /path/to/your/folder > myStructure.json

```

2. 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
------------

[](#contributing)

Feel free to send PRs.

License
-------

[](#license)

MIT

Todo
----

[](#todo)

- generate folders and files from pre-existing JSON structure, not just the other way around
- a test or two?

###  Health Score

32

—

LowBetter than 70% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4023d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4c1fbd2989c3dc9eba2c45f72fe4727d5cf1bde9ef6ff014c2b961e95636a6dc?d=identicon)[swader](/maintainers/swader)

![](https://www.gravatar.com/avatar/4440afa738ed146b05c06073a90345e0464c4f4d042b039532d881ca24859d77?d=identicon)[SvenAlHamad](/maintainers/SvenAlHamad)

---

Top Contributors

[![Swader](https://avatars.githubusercontent.com/u/1430603?v=4)](https://github.com/Swader "Swader (6 commits)")[![kherge](https://avatars.githubusercontent.com/u/9122157?v=4)](https://github.com/kherge "kherge (4 commits)")[![Pavel910](https://avatars.githubusercontent.com/u/3920893?v=4)](https://github.com/Pavel910 "Pavel910 (3 commits)")[![SvenAlHamad](https://avatars.githubusercontent.com/u/3808420?v=4)](https://github.com/SvenAlHamad "SvenAlHamad (1 commits)")

### Embed Badge

![Health badge](/badges/webiny-folderbuilder/health.svg)

```
[![Health](https://phpackages.com/badges/webiny-folderbuilder/health.svg)](https://phpackages.com/packages/webiny-folderbuilder)
```

###  Alternatives

[joaopaulolndev/filament-edit-env

Package to edit env file

322.9k](/packages/joaopaulolndev-filament-edit-env)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
