PHPackages                             davidvandertuijn/date\_fuzzy\_span - 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. davidvandertuijn/date\_fuzzy\_span

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

davidvandertuijn/date\_fuzzy\_span
==================================

Date Fuzzy Span

3.2(4y ago)023MITPHPPHP &gt;=7.0.0

Since Aug 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/davidvandertuijn/date_fuzzy_span)[ Packagist](https://packagist.org/packages/davidvandertuijn/date_fuzzy_span)[ RSS](/packages/davidvandertuijn-date-fuzzy-span/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (7)DependenciesVersions (8)Used By (0)

Date Fuzzy Span
===============

[](#date-fuzzy-span)

[![Total Downloads](https://camo.githubusercontent.com/9fa9e64156e2cff95c8d467bf61a268c45e58d1a1dea0ff05d0102a4770c4b72/68747470733a2f2f706f7365722e707567782e6f72672f646176696476616e6465727475696a6e2f646174655f66757a7a795f7370616e2f642f746f74616c2e737667)](https://packagist.org/packages/davidvandertuijn/date_fuzzy_span)[![Latest Stable Version](https://camo.githubusercontent.com/3c0a1cfe17c1523912b844fc1edd0412584ff7a25f6a5d351183dde9d66e8c03/68747470733a2f2f706f7365722e707567782e6f72672f646176696476616e6465727475696a6e2f646174655f66757a7a795f7370616e2f762f737461626c652e737667)](https://packagist.org/packages/davidvandertuijn/date_fuzzy_span)[![License](https://camo.githubusercontent.com/5f04a02d66a8dc3456c71cc19c4cae9485849c993e1087d6dc8b71450504ed69/68747470733a2f2f706f7365722e707567782e6f72672f646176696476616e6465727475696a6e2f646174655f66757a7a795f7370616e2f6c6963656e73652e737667)](https://packagist.org/packages/davidvandertuijn/date_fuzzy_span)

[![Date Fuzzy Span](https://camo.githubusercontent.com/c2c8a61d7ff37177cae44a903d67b3741831516ef3996df5aae85d8c54859b1c/68747470733a2f2f63646e2e646176696476616e6465727475696a6e2e6e6c2f6769746875622f646174655f66757a7a795f7370616e2e706e67)](https://camo.githubusercontent.com/c2c8a61d7ff37177cae44a903d67b3741831516ef3996df5aae85d8c54859b1c/68747470733a2f2f63646e2e646176696476616e6465727475696a6e2e6e6c2f6769746875622f646174655f66757a7a795f7370616e2e706e67)

The “Date Fuzzy Span” tool is designed to help users analyze and interpret date ranges with a degree of flexibility. This functionality is particularly useful for handling uncertain or approximate date values in various applications, such as project management, event planning, and historical analysis.

[!["Buy Me A Coffee"](https://camo.githubusercontent.com/9f44ce2dc3b3eecdd02598900866ffc518801df1932849703dae1e5ce5031070/68747470733a2f2f7777772e6275796d6561636f666665652e636f6d2f6173736574732f696d672f637573746f6d5f696d616765732f6f72616e67655f696d672e706e67)](https://www.buymeacoffee.com/davidvandertuijn)

Install
-------

[](#install)

```
composer require davidvandertuijn/date_fuzzy_span

```

Usage
-----

[](#usage)

```
date_fuzzy_span(time() - 10); // moments ago
date_fuzzy_span(time() + 20); // in moments
```

Localization
------------

[](#localization)

The default output is English:

- moments ago **|** in moments
- a few minutes ago **|** in a few minutes
- less than an hour ago **|** in less than an hour
- a couple of hours ago **|** in a couple of hours
- less than a day ago **|** in less than a day
- about a day ago **|** in about a day
- a couple of days ago **|** in a couple of days
- less than a week ago **|** in less than a week
- about a week ago **|** in about a week
- less than a month ago **|** in less than a month
- about a month ago **|** in about a month
- a couple of months ago **|** in a couple of months
- less than a year ago **|** in less than a year
- about a year ago **|** in about a year
- a couple of years ago **|** in a couple of years
- a few years ago **|** in a few years
- about a decade ago **|** in about a decade
- a couple of decades ago **|** in a couple of decades
- several decades ago **|** in several decades
- a long time ago **|** in a long time

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Recently: every ~415 days

Total

7

Last Release

1576d ago

Major Versions

1.2 → 2.02017-09-23

2.0 → 3.02019-05-26

PHP version history (3 changes)1.0PHP &gt;=4.0

1.1PHP &gt;=5.3.0

3.0PHP &gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d8904bedce7fb2ec131c0d18c13aeaa82b00af2fd03ebe099886ac462b1d29e?d=identicon)[davidvandertuijn](/maintainers/davidvandertuijn)

---

Top Contributors

[![davidvandertuijn](https://avatars.githubusercontent.com/u/11010507?v=4)](https://github.com/davidvandertuijn "davidvandertuijn (15 commits)")

### Embed Badge

![Health badge](/badges/davidvandertuijn-date-fuzzy-span/health.svg)

```
[![Health](https://phpackages.com/badges/davidvandertuijn-date-fuzzy-span/health.svg)](https://phpackages.com/packages/davidvandertuijn-date-fuzzy-span)
```

###  Alternatives

[philperusse/nova-tooltip-field

A Laravel Nova field.

10257.4k](/packages/philperusse-nova-tooltip-field)[lab404/nova-signature

A Laravel Nova field.

1474.9k](/packages/lab404-nova-signature)[doxphp/doxphp

Dox for PHP, inspired by Dox for JavaScript.

503.0k2](/packages/doxphp-doxphp)

PHPackages © 2026

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