PHPackages                             bfg/wood - 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. [Framework](/categories/framework)
4. /
5. bfg/wood

ActiveBfg-app[Framework](/categories/framework)

bfg/wood
========

Laravel's advanced framework controller for a code generation, change your framework quickly and easily. Automate all the same tasks with best code generator.

1.3.0(2y ago)21071MITPHPPHP ^8.0

Since Jul 14Pushed 2y ago2 watchersCompare

[ Source](https://github.com/bfg-s/wood)[ Packagist](https://packagist.org/packages/bfg/wood)[ RSS](/packages/bfg-wood/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (46)Used By (0)

Extension laravel wood
======================

[](#extension-laravel-wood)

Install
-------

[](#install)

```
composer require bfg/wood
```

Description
-----------

[](#description)

Laravel's advanced framework controller for a code generation, change your framework quickly and easily. Automate all the same tasks with best code generator.

Json mode demo
--------------

[](#json-mode-demo)

[![Wood json demo](https://github.com/bfg-s/wood/raw/32fb956353772ee474487569c5af060882e2195b/assets/Bfg_wood_demo_video.gif "Wood json demo")](https://github.com/bfg-s/wood/blob/32fb956353772ee474487569c5af060882e2195b/assets/Bfg_wood_demo_video.gif "Wood json demo")

Quick start
-----------

[](#quick-start)

In order to start generating in json format, run the `php artisan wood:install` command in order to create the generator database, then create a json file using the `php artisan wood:import` command, after which in your folder `database` file `wood.json` will appear. In it, you describe your files according to the scheme. Once the schema is complete, we call the `php artisan wood:build` command to collect all the changes. And every time you change the schema, jason runs the `php artisan wood:build` command.

### Commands

[](#commands)

- `php artisan wood:install` - Set the initial database for the generator
- `php artisan wood:run` - Start generation process
- `php artisan wood:build` - Build data from `JSON` file
- `php artisan wood:import` - Import all data from table and create `JSON` file
- `php artisan wood:sync` - Synchronize primary data of existing models into tables

### JSON structure

[](#json-structure)

- `` - Data by default

```
{
    "models": [
        {
            "class": "string",
            "foreign": "string",
            "increment": "bool",
            "auth": "bool",
            "created": "bool",
            "updated": "bool",
            "deleted": "bool",
            "migration": "bool",
            "fields": [
                {
                    "name": "string",
                    "cast": "string",
                    "type": "string",
                    "type_parameters": "array",
                    "has_default": "bool",
                    "default": "string",
                    "hidden": "bool",
                    "nullable": "bool",
                    "unique": "bool",
                    "index": "bool",
                    "comment": "string",
                    "type_details": "array"
                }
            ],
            "relations": [
                {
                    "related_model": "class",
                    "name": "string",
                    "type": "string",
                    "reverse_name": "string",
                    "reverse_type": "string",
                    "able": "string",
                    "with": "bool",
                    "with_count": "bool",
                    "nullable": "bool",
                    "cascade_on_update": "bool",
                    "cascade_on_delete": "bool",
                    "null_on_delete": "bool"
                }
            ],
            "observers": [
                {
                    "class": "string",
                    "events": "array"
                }
            ],
            "traits": [
                {
                    "class": "string"
                }
            ],
            "implements": [
                {
                    "class": "string"
                }
            ]
        }
    ],
    "events": [
        {
            "class": "string",
            "listeners": [
                {
                    "row": "string"
                }
            ]
        }
    ],
    "controllers": [
        {
            "class": "string",
            "methods": [
                {
                    "row": "string",
                    "event": "class"
                }
            ]
        }
    ],
    "factories": [
        {
            "model": "class",
            "lines": [
                {
                    "field": "string",
                    "php": "string"
                }
            ]
        }
    ],
    "seeds": [
        {
            "class": "string",
            "model": "class",
            "factory": "bool",
            "count": "int",
            "rows": [
                {
                    "row": "array"
                }
            ]
        }
    ],
    "requests": [
        {
            "class": "string",
            "access": "string",
            "rules": [
                {
                    "name": "string",
                    "rules": "array"
                }
            ]
        }
    ],
    "resources": [
        {
            "class": "string"
        }
    ]
}
```

Application documentation
-------------------------

[](#application-documentation)

We have extensive [documentation](https://wood.veskod.com/documentation/wood-application/install) in which you can get acquainted with the bfg wood.

Application Demo
----------------

[](#application-demo)

[![Wood demo](https://github.com/bfg-s/wood/raw/30f968b7b50d42675e441de6d98b06c34d216052/assets/wood-gif.gif "Wood demo")](https://github.com/bfg-s/wood/blob/30f968b7b50d42675e441de6d98b06c34d216052/assets/wood-gif.gif "Wood demo")

More details.
-------------

[](#more-details)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Every ~12 days

Recently: every ~2 days

Total

45

Last Release

876d ago

Major Versions

0.8.2 → 1.0.02023-04-22

PHP version history (2 changes)0.1.0PHP &gt;=8.0.0

1.3.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/59b2d162a30938ac2c3c56340ebea07a6778a3e1c86cb70b5bc28b69a1c3f04d?d=identicon)[bfg](/maintainers/bfg)

---

Top Contributors

[![Xsaven](https://avatars.githubusercontent.com/u/1726771?v=4)](https://github.com/Xsaven "Xsaven (81 commits)")

---

Tags

laravelscaffoldextensionbfgwoodquick-start

### Embed Badge

![Health badge](/badges/bfg-wood/health.svg)

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

###  Alternatives

[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3691.5k](/packages/codewithdennis-larament)

PHPackages © 2026

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