Download the PHP package googee/laravel-builder without Composer
On this page you can find all versions of the php package googee/laravel-builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-builder
Laravel Builder
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
features
- design database schemas
- manage database migrations
- generate OpenApi document
- generate CRUD files
install
how to generate migrations?
- go to
Migration
page, then select theUser
in sidebar - click
▼
button to generate theEntity
file - click
diff
button to generate a migration file - click
►|
button to runphp 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?
- go to
Entity
page, then selectUser
in sidebar - select
File
tab, then click▼
button to generate the file
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?
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 ofEntity
) - render template
file-1.txt
- write the result text to
database/Entity/User.php
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 selectUser
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
in template
All versions of laravel-builder with dependencies
doctrine/sql-formatter Version ^1.2
doctrine/migrations Version ^3.8
doctrine/orm Version ^3.2
symfony/cache Version ^6.0