rajinha92/model-generator

This package reads a database and generate Models and Migrations

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/rajinha92/model-generator

dev-master 2016-12-29 13:57 UTC

This package is auto-updated.

Last update: 2025-09-29 02:20:54 UTC


README

This package generates models and migrations (including FK migrations)

Service Provider

\Rafael\ModelGenerator\GeneratorServiceProvider::class,

artisan command

php artisan generate:model --migration --namespace=Models

the two options are optional, when not provided --migration then migrations will not be generated, --namespace will always be under app folder and your App\ namespace (or whatever you called it), when omitted models will be generated in app folder