承接 kas-cor/console-progress-bar 相关项目开发

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

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

kas-cor/console-progress-bar

Composer 安装命令:

composer require kas-cor/console-progress-bar

包简介

Console progress bar

README 文档

README

Screenshots (default config)

In process

In process

Finish report

Finish report

Install

composer require kas-cor/console-progress-bar

Usage

Default config

use KasCor\ConsoleProgressBar;

$progressBar = new ConsoleProgressBar(5);

foreach (range(1, 5) as $current_position) {
    $progressBar->output($current_position, 'message');
    sleep(1);
}

Other config

use KasCor\ConsoleProgressBar;

$progressBar = new ConsoleProgressBar(5, [
    'showFinishReport' => false,
]);

foreach (range(1, 5) as $current_position) {
    $progressBar->output($current_position, 'message');
    sleep(1);
}

Config

Property Type Description Default
showTimeMessage boolean Show time before message True
showBar boolean Show progress bar True
showCurrentPosition boolean Show current position True
showSpinner boolean Show spinner True
showPercent boolean Show percent progress True
showPassedTime boolean Show passed time True
showEstimatedTime boolean Show estimated time True
showFinishReport boolean Show finish report True
timeMessageFormat string Format date/time before message, PHP format d.m.Y H:i:s
progressBarSize integer Size progress bar 50
progressBarFullChar string Char full in progress bar #
progressBarEmptyChar string Char empty in progress bar .
spinnerChars array Chars spinner animation
separator string Separator elements -
orderElements array Order elements spinner, progress_bar, current_position, percent, passed_time, estimated_time

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-09-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固