LaravelPackages.net
Acme Inc.
Toggle sidebar
luffluo/laravel-datitong-generators

This package will generate some files to Datitong

217
1
v1.0.0-beta-2
About luffluo/laravel-datitong-generators

luffluo/laravel-datitong-generators is a Laravel package for this package will generate some files to datitong. It currently has 1 GitHub stars and 217 downloads on Packagist (latest version v1.0.0-beta-2). Install it with composer require luffluo/laravel-datitong-generators. Discover more Laravel packages by luffluo or browse all Laravel packages to compare alternatives.

Last updated

Laravel Datitong Generators

This package will generate some files for ChuangKe Company's products.

Installation

Install by composer

$ composer require luffluo/laravel-datitong-generators

Example

Basic

It can generating a controller and templates

$ php artisan admin:make ModuleName/ControllerName

With a Model

It can generating with a model

$ php artisan admin:make ModuleName/ControllerName --model|-m

It can generating with a model for custom model name

$ php artisan admin:make ModuleName/ControllerName -m=ModelName

$ php artisan admin:make ModuleName/ControllerName -m=ParentDir/ModelName

With a Service

It can generating with a service

$ php artisan admin:make ModuleName/ControllerName --service|-s

It can generating with a service for custom service name

$ php artisan admin:make ModuleName/ControllerName -s=ServiceName

$ php artisan admin:make ModuleName/ControllerName -s=ParentDir/ServiceName

With a Request

It can generating with a request

$ php artisan admin:make ModuleName/ControllerName --request|-r

It can generating with a request for custom request name

$ php artisan admin:make ModuleName/ControllerName -r=RequestName

$ php artisan admin:make ModuleName/ControllerName -r=ParentDir/RequestName

Star History Chart