PHPackages                             computerminds/php-edtf - 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. computerminds/php-edtf

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

computerminds/php-edtf
======================

A library for getting information about EDTF formatted strings.

0.3.0(2y ago)0794MITPHP

Since Jun 22Pushed 2y ago2 watchersCompare

[ Source](https://github.com/computerminds/php-edtf)[ Packagist](https://packagist.org/packages/computerminds/php-edtf)[ RSS](/packages/computerminds-php-edtf/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (2)Versions (7)Used By (0)

php-EDTF
========

[](#php-edtf)

[![Build Status](https://camo.githubusercontent.com/5110376814698317b6d112bc3a2a466653ed869f3d4ec60db260cf2d97230d91/68747470733a2f2f7472617669732d63692e6f72672f636f6d70757465726d696e64732f7068702d656474662e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/computerminds/php-edtf)

Usage
-----

[](#usage)

Use the factory to get instances of EDTFInfo:

```
$factory = new \ComputerMinds\EDTF\EDTFInfoFactory();
$dateInfo = $factory->create('1990-01');

```

Then you can call the various methods on the instance.

```
$valid = $dateInfo->isValid();
if ($valid) {
  $min = $dateInfo->getMin();
  $max = $dateInfo->getMax();
  // $min and $max are just standard PHP \DateTime instances.
  print $min->format('c');
}

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

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

Total

5

Last Release

881d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/df138ba1e6facb812007eefd2dd9e144ead4446f712342be282efed6f24ab236?d=identicon)[Steven Jones](/maintainers/Steven%20Jones)

---

Top Contributors

[![darthsteven](https://avatars.githubusercontent.com/u/95782?v=4)](https://github.com/darthsteven "darthsteven (23 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/computerminds-php-edtf/health.svg)

```
[![Health](https://phpackages.com/badges/computerminds-php-edtf/health.svg)](https://phpackages.com/packages/computerminds-php-edtf)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k34](/packages/neuron-core-neuron-ai)[google/cloud-core

Google Cloud PHP shared dependency, providing functionality useful to all components.

346132.9M110](/packages/google-cloud-core)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[roundcube/roundcubemail

The Roundcube Webmail suite

7.0k1.4k3](/packages/roundcube-roundcubemail)[spatie/laravel-export

Create a static site bundle from a Laravel app

673139.5k6](/packages/spatie-laravel-export)[workos/workos-php

WorkOS PHP Library

423.0M9](/packages/workos-workos-php)

PHPackages © 2026

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