定制 apex/cli 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

apex/cli

最新稳定版本:2.0.2

Composer 安装命令:

composer require apex/cli

包简介

Develop efficient console applications.

README 文档

README

Quickly and efficiently develop CLI based applications. Features include

  • File / directory structure based routing for better organization and single responsibility principle
  • Many helper functions to automatically wordwrap all text, get user input, get password, specify new password, get y/n confirmation, render SQL style table, render two column array, and more.
  • Support for additional arguments, plus short and long flags with optional values.
  • Provides uniform, concise and well structured help screen for all commands.
  • Utilizes levenshtein algorithm to automatically detect typos within command names.
  • Easily define shortcuts to commands.
  • Supports attribute based dependancy injection providing cleaner and more efficient development.

Installation

Install via Composer with:

composer require apex/cli

Table of Contents

  1. Getting Started
  2. Create CLI Commands
  3. Define Shortcuts
  4. CLI Help Screen
  5. Cli Function Reference

Follow Apex

Loads of good things coming in the near future including new quality open source packages, more advanced articles / tutorials that go over down to earth useful topics, et al. Stay informed by joining the mailing list on our web site, or follow along on Twitter at @mdizak1.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-01-08