roxblnfk/clitube 问题修复 & 功能扩展

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

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

roxblnfk/clitube

最新稳定版本:0.3.4

Composer 安装命令:

composer require roxblnfk/clitube

包简介

CliTube is data viewer in console

README 文档

README

CLI Tube

68747470733a2f2f706f7365722e707567782e6f72672f636c69747562652f636c69747562652f726571756972652f706870 68747470733a2f2f706f7365722e707567782e6f72672f636c69747562652f636c69747562652f76657273696f6e 68747470733a2f2f706f7365722e707567782e6f72672f636c69747562652f636c69747562652f646f776e6c6f616473 badge.svg 68747470733a2f2f73686570686572642e6465762f6769746875622f636c69747562652f636c69747562652f636f7665726167652e737667 68747470733a2f2f73686570686572642e6465762f6769746875622f636c69747562652f636c69747562652f6c6576656c2e737667

The package will help you to render paginated tables and any plain text content in a console.

Requirements

Make sure that your server is configured with following PHP version and extensions:

  • PHP 8.1+

Installation

You can install the package via composer:

composer require clitube/clitube

Examples

Paginator Component

$core = (new \CliTube\Core($output))
$core->createComponent(\CliTube\Component\Paginator::class, [
    new MyPaginator(), // Instanceof \CliTube\Data\Paginator
])
$core->run();

Navigation

pagination-navigation.gif

A wide table scrolling

pagination-scroll-horizontally.gif

Scroll Component

$core = (new \CliTube\Core($output))
$core->createComponent(\CliTube\Component\Scroll::class, [
    'content' => 'Very long text',
    'overwrite' => true,
])
$core->run();

Testing

composer test

License

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-09-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固