lucid-arch/laravel-console 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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 lucid cli directly you need to have ./vendor/bin as part of your $PATH. To do that, put this in your shell profile (~/.bash_profile, ~/.zshrc, ~/bashrc) export PATH="$PATH:./vendor/bin"

Available Commands

  • help Displays help for a command
  • list Lists commands
  • make
    • make:controller Create a new resource Controller class in a service
    • make:feature Create a new Feature in a service
    • make:migration Create a new Migration in a service
    • make:operation Create a new Operation in a service
    • make:job Create a new Job in a domain
    • make:service Create a new Service
    • make:model Create a new Model
    • make:request Create a new Request in a service
    • make:policy Create a new Policy
  • list
    • list:features List the features.
    • list:services List the services in this project.
  • delete
    • delete:feature Delete an existing Feature in a service
    • delete:operation Delete an existing Operation in a service
    • delete:job Delete an existing Job in a domain
    • delete:service Delete an existing Service
    • delete:model Delete an existing Model
    • delete:request Delete an existing Request in a service
    • delete:policy Delete an existing Policy
  • src
    • src:name Set 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:services
  • list: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

GitHub 信息

  • Stars: 28
  • Watchers: 16
  • Forks: 19
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-08-23