locr-company/progress 问题修复 & 功能扩展

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

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

locr-company/progress

最新稳定版本:1.1.3

Composer 安装命令:

composer require locr-company/progress

包简介

A class for handling progress

关键字:

README 文档

README

php codecov Mutation testing badge github_workflow_status Quality Gate Status github_tag packagist

1. Installation

composer require locr-company/progress

2. How to use

<?php

use Locr\Lib\Progress;

$progress = new Progress(totalCount: 1_000);
$progress->incrementCounter();
print $progress->Counter; // 1
print $progress->PercentageCompleted; // 0.1
print $progress->toFormattedString(); // progress => 1/1000 (0.10%); elapsed: 00:00:01; ete: 00:16:39; eta: 2021-10-10 20:00:01
$progress->setCounter(1000);
print $progress->PercentageCompleted; // 100

3. Development

Clone the repository

git clone git@github.com:locr-company/php-progress.git
cd php-progress && composer install

4. Publish a new version

# update CHANGELOG.md file

git tag -a <major>.<minor>.<patch> -m 'version <major>.<minor>.<patch>'
git push
git push origin --tags

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固