lucid-arch/laravel-console
最新稳定版本:v7.0.0
Composer 安装命令:
composer require lucid-arch/laravel-console
包简介
The Command Line Interface for the Lucid Architecture
README 文档
README
The Console companion for the Lucid Architecture.
Command Line Interface
The console ships with a command line interface called lucid that you can find in vendor/bin/lucid and use as
lucid make:feature ListUsers Api
To be able to address the
lucidcli directly you need to have./vendor/binas part of your$PATH. To do that, put this in your shell profile (~/.bash_profile, ~/.zshrc, ~/bashrc)export PATH="$PATH:./vendor/bin"
Available Commands
helpDisplays help for a commandlistLists commands- make
make:controllerCreate a new resource Controller class in a servicemake:featureCreate a new Feature in a servicemake:migrationCreate a new Migration in a servicemake:operationCreate a new Operation in a servicemake:jobCreate a new Job in a domainmake:serviceCreate a new Servicemake:modelCreate a new Modelmake:requestCreate a new Request in a servicemake:policyCreate a new Policy
- list
list:featuresList the features.list:servicesList the services in this project.
- delete
delete:featureDelete an existing Feature in a servicedelete:operationDelete an existing Operation in a servicedelete:jobDelete an existing Job in a domaindelete:serviceDelete an existing Servicedelete:modelDelete an existing Modeldelete:requestDelete an existing Request in a servicedelete:policyDelete an existing Policy
- src
src:nameSet the source directory namespace.
Commands Usage
Make
make:controller <controller> [<service>]make:migration <migration> <service>make:feature <feature> [<service>]make:job <job> <domain> [--queue]make:service <name>make:model <model>make:request <request> [<service>]make:policy <policy>
List
list:serviceslist:features [<service>]
Delete
delete:service <name>delete:feature <feature> [<service>]delete:job <job> <domain>delete:model <model>delete:request <request> [<service>]delete:policy <policy>
Set Source Namespace
src:name <name>
统计信息
- 总下载量: 76.2k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 29
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-08-23