承接 kjohnson/impress-cli 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

kjohnson/impress-cli

最新稳定版本:0.0.7

Composer 安装命令:

composer create-project kjohnson/impress-cli

包简介

A CLI for generating DDD classes

README 文档

README

 _____                                   
|_   _|                                  
  | |  _ __ ___  _ __  _ __ ___  ___ ___ 
  | | | '_ ` _ \| '_ \| '__/ _ \/ __/ __|
 _| |_| | | | | | |_) | | |  __/\__ \__ \
|_____|_| |_| |_| .__/|_|  \___||___/___/
                | |                      
                |_|                      

Impress is a developer command line tool for generating Domain Driven Design (DDD) classes, such as actions, controllers, and exceptions under a specific domain.

Installation

The CLI installs globally via Composer and can be called from any directory containing a src sub-directory.

composer global require kjohnson/impress-cli

Note: .composer/vendor/bin must be included in PATH for the command to be called globally, which varies across operating systems.

Usage

Once installed, the CLI can be called from any directory containing a src sub-directory.

  USAGE:  <command> [options] [arguments]

  make:action     Create a new Action class
  make:controller Create a new Controller class
  make:domain     Create a new Domain directory
  make:exception  Create a new Exception class

Example usage:

impress make:domain User
// Creates the `User` domain/directory within `src/`

impress make:action User UpdateUserPassword
// Creates the `UpdateUserPassword` action within the `User` domain
// See src/User/Actions/UpdateUserPassword.php

Each command will generate the appropriate directories and files within the corresponding Domain.

Maintenance

Releasing an update

  1. Update the version number in composer.json
  2. Run composer run build
  3. Commit and push changes
  4. Create a new release on GitHub
  5. Update the package on Packagist

统计信息

  • 总下载量: 26
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固