dwoodard/sketch

dev-master 2021-01-07 21:25 UTC

This package is auto-updated.

Last update: 2024-04-08 04:24:42 UTC


README

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

Sketch

Latest Version on Packagist Total Downloads Build Status StyleCI

This is where your description should go. Take a look at contributing.md to see a to do list.

Installation

Via Composer

$ composer require dwoodard/sketch

Usage

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email dustin.woodard@gmail.com instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.