PHPackages                             jcchavezs/nanotime - 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. jcchavezs/nanotime

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

jcchavezs/nanotime
==================

An abstraction for nanotime in PHP.

0.4.0(9y ago)556.5k11GPLv3.0PHPPHP ^5.6||^7.0

Since Mar 31Pushed 9y ago1 watchersCompare

[ Source](https://github.com/jcchavezs/nanotime-php)[ Packagist](https://packagist.org/packages/jcchavezs/nanotime)[ RSS](/packages/jcchavezs-nanotime/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (6)Used By (1)

Nanotime PHP
============

[](#nanotime-php)

A couple of value objects for representing nanotime.

Usage
-----

[](#usage)

```
    $nanotime = Nanotime::now();
    usleep(1);
    $nanotime2 = Nanotime::now();
    echo $nanotime2->diff($nanotime);
```

Further development
-------------------

[](#further-development)

This is just a wrapper for the Nanotime concept (which does not exist in PHP) that will perfectly work as an abstraction for nanotime in PHP projects. Further development will tackle the problem about getting an accurate value for nanotime.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

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 ~18 days

Total

5

Last Release

3308d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b5352392ac3b571d5e5d144f6e992040e46726c0863552882cdd8d2577c2eb7?d=identicon)[jcchavezs](/maintainers/jcchavezs)

---

Top Contributors

[![jcchavezs](https://avatars.githubusercontent.com/u/3075074?v=4)](https://github.com/jcchavezs "jcchavezs (9 commits)")

---

Tags

nanotimephp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jcchavezs-nanotime/health.svg)

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

PHPackages © 2026

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