Downloads
Stars
Version
sketch:init make sketch schema yaml file sketch:generate (install|fresh|refresh|reset|rollback|status) sketch:config #stub out config
#Usage sketch:generate #create [Models, Migrations, Factories, Seeds, Routes] from schema.yml
# - php artisan make:model Dogs -a
- php artisan make:make:model
#if table doesn't exsist
- php artisan make:migration create_{table}_table
# else
- php artisan make:migration add_{field}_to_table --table=flights
- php artisan make:controller
- php artisan make:factory
- php artisan make:seeder
# if table observer: true
- php artisan make:observer
-
make:cast Create a new custom Eloquent cast class make:channel Create a new channel class make:command Create a new Artisan command make:component Create a new view component class make:event Create a new event class make:exception Create a new custom exception class make:factory Create a new model factory make:job Create a new job class make:listener Create a new event listener class make:mail Create a new email class make:middleware Create a new middleware class make:migration Create a new migration file make:model Create a new Eloquent model class make:notification Create a new notification class make:observer Create a new observer class make:policy Create a new policy class make:provider Create a new service provider class make:request Create a new form request class make:resource Create a new resource make:rule Create a new validation rule make:seeder Create a new seeder class make:test Create a new test class
// schema.yml Dog: id: owner_id:foreign(columns, name) name birthday breed () gender (m/f)
Owner: id:i
This is where your description should go. Take a look at contributing.md to see a to do list.
Via Composer
$ composer require dwoodard/sketch
Please see the changelog for more information on what has changed recently.
$ composer test
Please see contributing.md for details and a todolist.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
MIT. Please see the license file for more information.