mannydmorales/console 问题修复 & 功能扩展

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

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

mannydmorales/console

最新稳定版本:v2.0.0

Composer 安装命令:

composer require mannydmorales/console

包简介

A utility library for interacting with the console.

README 文档

README

Description

This library provides utility functions to interact with the console. Helpfull for console applications.

Features

  • Stylize outputs (Formatting includes: font color, background color, bold, hide for passwords, etc)
  • Ask for user input: (Password, Prompt, Selects, Multi-Select, Confirm)
  • Progress Bar
  • Print formatted Usage Table
  • Output to STDOUT and STDERR
  • Clear Screen
  • Console Size Detection
  • Check OS type: isWindows, isMac, isLinux

Installation

To install the library (using composer):

  1. composer require mannydmorales/console
  2. Include the composer autoloader
    require __DIR__.'/vendor/autoload.php';

To install the library (if not using composer):

  1. Clone/Download the repository
  2. Include the autoload.php script in your application
    require 'path/to/install/autoload.php';

Usage

Please view the examples located in the examples/ directory.

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or suggestions, please contact mannydmorales@gmail.com.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-18