承接 wujunze/php-cli-color 相关项目开发

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

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

wujunze/php-cli-color

最新稳定版本:v2.4

Composer 安装命令:

composer require wujunze/php-cli-color

包简介

Simple and easy to use the PHP command-line output of color

README 文档

README

Simple and easy to use the PHP command-line output of color

Build Status codecov Latest Stable Version Total Downloads License

Installation

composer require wujunze/php-cli-color

How to use

<?php require_once __DIR__ . './../vendor/autoload.php'; $colors = new Wujunze\Colors(); // Test some basic printing with Colors class echo $colors->getColoredString("Testing Colors class, this is purple string on yellow background.", "purple", "yellow"); echo $colors->getColoredString("Testing Colors class, this is blue string on light gray background.", "blue", "light_gray"); echo $colors->getColoredString("Testing Colors class, this is red string on black background.", "red", "black"); echo $colors->getColoredString("Testing Colors class, this is cyan string on green background.", "cyan", "green"); echo $colors->getColoredString("Testing Colors class, this is cyan string on default background.", "cyan"); echo $colors->getColoredString("Testing Colors class, this is default string on cyan background.", null, "cyan");

run result

code run result

统计信息

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

GitHub 信息

  • Stars: 42
  • Watchers: 3
  • Forks: 17
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固