graze/console-diff-renderer 问题修复 & 功能扩展

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

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

graze/console-diff-renderer

最新稳定版本:0.6.2

Composer 安装命令:

composer require graze/console-diff-renderer

包简介

only write output to a console that has changed

README 文档

README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Only render things that have changed to the console.

asciicast

Usage

$output = new DiffConsoleOutput($existing); $output->reWrite([ 'first line', 'second line', ]); $output->reWrite([ 'first line here', 'second line', ]);

This will navigate the cursor to the end of first line and write here then navigate the cursor back to the end.

  • Supports Formatting
  • Supports ANSI control codes
  • Will wrap around based on the terminal size
  • Can trim based on the terminal size
  • Will only write the number of lines that are visible to the user

Install

Via Composer

$ composer require graze/console-diff-renderer

Development

$ make build

Testing

$ make test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email security@graze.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 141.24k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 3
  • 依赖项目数: 4
  • 推荐数: 3

GitHub 信息

  • Stars: 5
  • Watchers: 10
  • Forks: 8
  • 开发语言: PHP

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固