googee/laravel-builder is a Laravel package for laravel builder.
It currently has 6 GitHub stars and 4.147 downloads on Packagist (latest version v0.200.0).
Install it with composer require googee/laravel-builder.
Discover more Laravel packages by googee
or browse all Laravel packages to compare alternatives.
Last updated
Intuitive productivity tool for Laravel. demo
You no longer need to write migrations, Doctrine will do it for you.
PhpStorm plugin Laravel Builder
PhpStorm plugin Laravel Generator
composer require --dev googee/laravel-builder
php artisan vendor:publish --provider="GooGee\LaravelBuilder\LaravelBuilderServiceProvider"
php artisan setupLaravelBuilder

Migration page, then select the User in sidebar▼ button to generate the Entity filediff button to generate a migration file►| button to run php artisan migrateconfig/laravelbuilder.phpDoctrine compares files in database/Entity with the database schemas, and generate a migration file of their difference.

Entity page, then select User in sidebarFile tab, then click ▼ button to generate the fileOpenApi in the menu bartoJSON button, then copy the texteditor link, then paste in the editorfor example, lets generate the User Entity file.
when ▼ button is clicked, this plugin will do the following:
laravel-builder/codecode-helper.jsfile-1.js (1 is the id of Entity)file-1.txtdatabase/Entity/User.phpTree page, then select a file in sidebaredit script button to modify the code (optional)edit template button to modify the textEntity page, then select User in sidebarFile tab, then click ▼ button to generate the fileNote: 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) }}