wilzokch/laravel-progress-bar-lite 问题修复 & 功能扩展

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

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

wilzokch/laravel-progress-bar-lite

Composer 安装命令:

composer create-project wilzokch/laravel-progress-bar-lite

包简介

Fast Progress Bar for Laravel Command.

README 文档

README

This is a package to provide a faster progress bar for Laravel 5.1 and above.

Problem

Laravel default progress bar will slow down the proccessing time significantly when your data are too large.

Solution

This progress bar allow you to configure the update frequency of progress bar (default update frequency is 100)

Installation via "composer require"

    composer require wilzokch/laravel-progress-bar-lite

Example

// put in your command class or refer to sample/TestCommand.php
use LiteProgressBarTrait;
// create progress bar using following function instead of $this->output->createProgressBar(count($data));
$bar = $this->createProgressBar(count($data));

Test result with my PC

using Laravel Progress bar

 100000/100000 [============================] 100%
time taken: 79.0038s

using Progress bar lite

 100000/100000 [============================] 100%
time taken: 0.5265s

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2019-04-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固