linhdanchu / command
create file by command
dev-master
2020-10-12 10:26 UTC
This package is auto-updated.
Last update: 2025-04-12 20:45:15 UTC
README
Đây là 1 package tạo file reposiotory bằng command danh cho laravel
Cài đặt
composer require linhdanchu/command
Sử dụng
đăng ki Povider
Linhdanchu\Artisan\Providers\RepositoryServicePovider::class
tạo file reposiotory php artisan make:repository {composer} {suffix?} {base_repository?} {construct?} {create_base_repository?}
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
composer | string | true | Tên file repository | |
suffix | boolean | false | true | Trạng thái tên file repository đã có tên hậu tố Repository |
base_repository | boolean | false | false | Trạng thái extends BaseRepository |
construct | boolean | false | false | Có hàm __construct |
create_base_repository | boolean | false | false | Trạng thái tạo file BaseRepository |