Schema builder for building models, migrations, etc from schema
subscribo/schemabuilder is a Laravel package for schema builder for building models, migrations, etc from schema.
It currently has 0 GitHub stars and 67 downloads on Packagist (latest version v0.1.2).
Install it with composer require subscribo/schemabuilder.
Discover more Laravel packages by subscribo
or browse all Laravel packages to compare alternatives.
Last updated
Schema builder for building models, migrations, etc from schema
1.1 Repository containing this package (note: you need to have access to this repository as well as to resources it points to)
1.2 Dependency under "require" or "require-dev" keys
"subscribo/schemabuilder": "^0.1.0"
1.3 To use with Laravel add
'\\Subscribo\\SchemaBuilder\\SchemaBuilderServiceProvider',
under 'providers' key in app/config/app.php file
or
if (class_exists('\\Subscribo\\SchemaBuilder\\SchemaBuilderServiceProvider')) {
App::register('\\Subscribo\\SchemaBuilder\\SchemaBuilderServiceProvider');
}
in app/start/artisan.php for conditional registration
Put your schema.yml into config/schemabuilder directory of your project (or modify respective constant of BuildCommandAbstract). You may also use doc/examples/schema.yml and modify it as needed.
If needed, put AbstractModel from doc/examples into your project
Setup autoload for needed classes and namespaces in your composer.json and run
composer dump-autoload
php artisan build