yevhenii/laravel-entity

This package add useful commands to Laravel project, commands like creating repository, and creating all in one time controller, model, repository, migration

dev-master 2019-09-04 08:28 UTC

This package is auto-updated.

Last update: 2024-11-05 05:35:17 UTC


README

![Latest Version on Packagist][ico-version]

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

Installation

Via Composer

$ composer require yevhenii/laravel-entity

Usage

  • For creating Controller, Model, Migration, Repository use command:
$ php artisan entity Post

Where Post is example.

Will be created : PostController - controller Post - model PostRepository - repository 2019_08_12_100000_create_posts_table.php - migration

  • For creating Controller, Model, Migration, Repository and Factory, Seeder use command:
$ php artisan entity Post --all

Where Post is example

Will be created : PostController - controller Post - model PostRepository - repository 2019_08_12_100000_create_posts_table.php - migration PostsTableSeeder - seed PostFactory - factory

  • For creating just a Repository use command:
$ php artisan entity:repository Post

Where Post is example

Will be created : PostRepository - repository

Change log

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

Security

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits

License

license. Please see the license file for more information.