PHPackages                             googee/laravel-builder - 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. googee/laravel-builder

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

googee/laravel-builder
======================

Laravel Builder

v0.200.0(9mo ago)64.1k1[1 issues](https://github.com/GooGee/laravel-builder/issues)MITJavaScriptCI passing

Since Jan 30Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/GooGee/laravel-builder)[ Packagist](https://packagist.org/packages/googee/laravel-builder)[ RSS](/packages/googee-laravel-builder/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (37)Used By (0)

Laravel Builder
===============

[](#laravel-builder)

Intuitive productivity tool for Laravel. [demo](https://googee.github.io/laravel-builder/build006)

You no longer need to write migrations, Doctrine will do it for you.

[PhpStorm plugin Laravel Builder](https://plugins.jetbrains.com/plugin/20064)

[PhpStorm plugin Laravel Generator](https://plugins.jetbrains.com/plugin/15276)

features
--------

[](#features)

- design database schemas
- manage database migrations
- generate OpenApi document
- generate CRUD files

install
-------

[](#install)

[PhpStorm plugin](https://plugins.jetbrains.com/plugin/20064)

```
composer require --dev googee/laravel-builder

php artisan vendor:publish --provider="GooGee\LaravelBuilder\LaravelBuilderServiceProvider"

php artisan setupLaravelBuilder
```

how to generate migrations?
---------------------------

[](#how-to-generate-migrations)

[![migration](https://camo.githubusercontent.com/2aeaacc26c62ef026afc5fc7ca21cf22b0b96fcec1fa41fc92468fc16712b91b/68747470733a2f2f676f6f6765652e6769746875622e696f2f6c61726176656c2d6275696c6465722f696d6167652f6d6967726174696f6e2e676966)](https://camo.githubusercontent.com/2aeaacc26c62ef026afc5fc7ca21cf22b0b96fcec1fa41fc92468fc16712b91b/68747470733a2f2f676f6f6765652e6769746875622e696f2f6c61726176656c2d6275696c6465722f696d6167652f6d6967726174696f6e2e676966)

- go to `Migration` page, then select the `User` in sidebar
- click `▼` button to generate the `Entity` file
- click `diff` button to generate a migration file
- click `►|` button to run `php artisan migrate`
- to ignore a table, add its name to the file `config/laravelbuilder.php`

Doctrine compares files in `database/Entity` with the database schemas, and generate a migration file of their difference.

how to generate CRUD files?
---------------------------

[](#how-to-generate-crud-files)

[![crud](https://camo.githubusercontent.com/2c177c4f4fcc3686ffc9e93e456c080ab629949344bd76865abb051cab3b13f7/68747470733a2f2f676f6f6765652e6769746875622e696f2f6c61726176656c2d6275696c6465722f696d6167652f637275642e676966)](https://camo.githubusercontent.com/2c177c4f4fcc3686ffc9e93e456c080ab629949344bd76865abb051cab3b13f7/68747470733a2f2f676f6f6765652e6769746875622e696f2f6c61726176656c2d6275696c6465722f696d6167652f637275642e676966)

- go to `Entity` page, then select `User` in sidebar
- select `File` tab, then click `▼` button to generate the file

how to generate OpenApi document?
---------------------------------

[](#how-to-generate-openapi-document)

- click `OpenApi` in the menu bar
- click `toJSON` button, then copy the text
- click `editor` link, then paste in the editor

how file is generated?
----------------------

[](#how-file-is-generated)

for example, lets generate the User `Entity` file. when `▼` button is clicked, this plugin will do the following:

- GUI fetch all files in `laravel-builder/code`
- execute code in `code-helper.js`
- execute code in `file-1.js` (`1` is the id of `Entity`)
- render template `file-1.txt`
- write the result text to `database/Entity/User.php`

how to generate custom files?
-----------------------------

[](#how-to-generate-custom-files)

- go to `Tree` page, then select a file in sidebar
- click `edit` script button to modify the code (optional)
- click `edit` template button to modify the text
- go to `Entity` page, then select `User` in sidebar
- select `File` tab, then click `▼` button to generate the file

Note: if changes didn't work, make sure to save the changed file manually, PhpStorm doesn't save the changed file immediately.

for example

```
function run(data) {
    /** @type {DataForScript} */
    const ddd = data

    // define variable `model`
    ddd.model = ddd.db.tables.File.find(item => item.name === 'Model')

    // define function `toString`
    ddd.toString = function(object) {
        return JSON.stringify(object)
    }
}
```

in template

```
{{ model.name }}

{{ toString(model) }}
```

[templating engine](https://mozilla.github.io/nunjucks/templating.html)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance74

Regular maintenance activity

Popularity24

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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 ~27 days

Recently: every ~99 days

Total

35

Last Release

273d ago

Major Versions

v0.27.0 → v003.x-dev2024-07-09

v0.100.0 → v004.x-dev2024-12-13

v004.x-dev → v005.x-dev2025-06-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/b8ca07e917882b3d9831652688e6be42b43237cb1bc6a1802ecd3ae9f74b2b0c?d=identicon)[GooGee](/maintainers/GooGee)

---

Top Contributors

[![GooGee](https://avatars.githubusercontent.com/u/13238516?v=4)](https://github.com/GooGee "GooGee (198 commits)")

---

Tags

dev

### Embed Badge

![Health badge](/badges/googee-laravel-builder/health.svg)

```
[![Health](https://phpackages.com/badges/googee-laravel-builder/health.svg)](https://phpackages.com/packages/googee-laravel-builder)
```

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[concrete5/core

Concrete core subtree split

19159.3k48](/packages/concrete5-core)

PHPackages © 2026

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