PHPackages                             liguangchun/timer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. liguangchun/timer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

liguangchun/timer
=================

时间助手

v1.0.4(6y ago)131MITPHPPHP &gt;=7.0

Since Jan 2Pushed 6y ago1 watchersCompare

[ Source](https://github.com/GC0202/timer)[ Packagist](https://packagist.org/packages/liguangchun/timer)[ Docs](https://www.dtapp.net)[ RSS](/packages/liguangchun-timer/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (5)DependenciesVersions (6)Used By (0)

[![dtApp Logo](https://camo.githubusercontent.com/e858adb379e4fd8e72b8b1f6c1865bbb2b87a48b975533e619b678f8ac861f8c/68747470733a2f2f63646e2e6f73732e6c696775616e676368756e2e636e2f30342f3939396539663266303664333936393638656163633130636539626338612e706e67)](https://camo.githubusercontent.com/e858adb379e4fd8e72b8b1f6c1865bbb2b87a48b975533e619b678f8ac861f8c/68747470733a2f2f63646e2e6f73732e6c696775616e676368756e2e636e2f30342f3939396539663266303664333936393638656163633130636539626338612e706e67)

[时间助手](https://www.dtapp.net/)
==============================

[](#时间助手)

📦 时间助手PHP扩展包

[![Latest Stable Version](https://camo.githubusercontent.com/6e70b8ceb305a5bc61f63e9c7db2291b39a8f1f1f9b7b1b1fa53b919d2dd85c0/68747470733a2f2f706f7365722e707567782e6f72672f6c696775616e676368756e2f74696d65722f762f737461626c65)](https://packagist.org/packages/liguangchun/timer)[![Latest Unstable Version](https://camo.githubusercontent.com/786035c0d65688cafea672a5c51981b4cd5f8d10c0312ac132b6d1d2965d9906/68747470733a2f2f706f7365722e707567782e6f72672f6c696775616e676368756e2f74696d65722f762f756e737461626c65)](https://packagist.org/packages/liguangchun/timer)[![Total Downloads](https://camo.githubusercontent.com/c53e7cd51eefbce5fca94fb85f759b6430c0a16045efaf301340a9a5e3a8458e/68747470733a2f2f706f7365722e707567782e6f72672f6c696775616e676368756e2f74696d65722f646f776e6c6f616473)](https://packagist.org/packages/liguangchun/timer)[![License](https://camo.githubusercontent.com/b7b171bf443bfc945237bae2e443b9815e52c15fbdae25c7348546a229359371/68747470733a2f2f706f7365722e707567782e6f72672f6c696775616e676368756e2f74696d65722f6c6963656e7365)](https://packagist.org/packages/liguangchun/timer)[![PHP Version](https://camo.githubusercontent.com/21223b9ffedc1feec4026ec59947bafeec1e45b69a0e2fd1383975636e8d09a6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344372e302d3838393242462e737667)](https://packagist.org/packages/GC0202/timer)[![Dependency Status](https://camo.githubusercontent.com/7b5afc90ac7f83cc99fd8fffce1b4d3715a7529fce4f983dc65237cc4d2c95f1/68747470733a2f2f64617669642d646d2e6f72672f4743303230322f74696d65722e737667)](https://david-dm.org/GC0202/timer)[![Dependency Status Dev](https://camo.githubusercontent.com/379e78b3db39b76831189a96f6e2e56ab16d487d13eee6d626cd532f0ee0e1e6/68747470733a2f2f64617669642d646d2e6f72672f4743303230322f74696d65722f6465762d7374617475732e737667)](https://david-dm.org/GC0202/timer?type=dev)[![GitHub last commit](https://camo.githubusercontent.com/d14e2bd04280a496f677f06c425eecf99e5ab709bf72a071051eda44d700ba57/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f4743303230322f74696d65723f6c6f676f3d676974687562)](https://github.com/GC0202/timer/commits)[![GitHub commit activity](https://camo.githubusercontent.com/d660428960b27d7da7a3eb75ec38c0820e822109fb243940cf57e611cc97397c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d69742d61637469766974792f6d2f4743303230322f74696d6572)](https://github.com/GC0202/timer/commits)[![GitHub contributors](https://camo.githubusercontent.com/702d17823f5b643df47b9e5c03ac137753655a0e70b9149dd2a7280cc5b46d3e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f4743303230322f74696d65723f6c6f676f3d676974687562266c6162656c3d646576656c6f70657273)](https://github.com/GC0202/timer/graphs/contributors)

依赖环境
----

[](#依赖环境)

1. PHP7.0 版本及以上（低版本和7.4版本未做兼容处理！）

使用文档
----

[](#使用文档)

[文档链接](https://apidoc.dtapp.net/web/#/10)

安装
--

[](#安装)

```
composer require liguangchun/timer -vvv

```

更新
--

[](#更新)

```
composer update liguangchun/timer -vvv

```

删除
--

[](#删除)

```
composer remove liguangchun/timer -vvv

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Total

5

Last Release

2314d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/19975474?v=4)[liguangchun](/maintainers/liguangchun)[@liguangchun](https://github.com/liguangchun)

---

Top Contributors

[![dtapps](https://avatars.githubusercontent.com/u/16093106?v=4)](https://github.com/dtapps "dtapps (8 commits)")

---

Tags

timetimerliguangchun

### Embed Badge

![Health badge](/badges/liguangchun-timer/health.svg)

```
[![Health](https://phpackages.com/badges/liguangchun-timer/health.svg)](https://phpackages.com/packages/liguangchun-timer)
```

###  Alternatives

[symfony/clock

Decouples applications from the system clock

430168.9M205](/packages/symfony-clock)[knplabs/knp-time-bundle

Making your dates and durations look sensible and descriptive

6308.9M39](/packages/knplabs-knp-time-bundle)[league/period

Time range API for PHP

7335.4M21](/packages/league-period)[brick/date-time

Date and time library

3623.3M61](/packages/brick-date-time)[aeon-php/calendar

PHP type safe, immutable calendar library

2079.7M16](/packages/aeon-php-calendar)[tplaner/when

Date/Calendar recursion library.

5261.0M5](/packages/tplaner-when)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
