PHPackages                             ajimoti/cache-duration - 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. [Caching](/categories/caching)
4. /
5. ajimoti/cache-duration

ActiveLibrary[Caching](/categories/caching)

ajimoti/cache-duration
======================

This package provides a more readable way to get time in seconds while caching.

1.1.1(4y ago)25329[2 PRs](https://github.com/ajimoti/cache-duration/pulls)MITPHP ^8.0

Since Jan 20Compare

[ Source](https://github.com/ajimoti/cache-duration)[ Packagist](https://packagist.org/packages/ajimoti/cache-duration)[ Docs](https://github.com/ajimoti/cache-duration)[ GitHub Sponsors](https://github.com/ajimoti)[ RSS](/packages/ajimoti-cache-duration/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (4)Versions (6)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/ajimoti/cache-duration).

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

Total

3

Last Release

1577d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/00ffaaace8a05e5cf8a3db80ff57db4d65798f9f0d0468a18c893610ea9e87bf?d=identicon)[ajimoti](/maintainers/ajimoti)

---

Tags

cachedurationcache durationajimoti

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/ajimoti-cache-duration/health.svg)

```
[![Health](https://phpackages.com/badges/ajimoti-cache-duration/health.svg)](https://phpackages.com/packages/ajimoti-cache-duration)
```

###  Alternatives

[psr/simple-cache

Common interfaces for simple caching

8.1k727.3M2.1k](/packages/psr-simple-cache)[psr/cache

Common interface for caching libraries

5.2k686.9M1.3k](/packages/psr-cache)[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k8.2M51](/packages/spatie-laravel-responsecache)[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[awssat/laravel-visits

Laravel Redis visits counter for Eloquent models

975163.6k2](/packages/awssat-laravel-visits)[beste/in-memory-cache

A PSR-6 In-Memory cache that can be used as a fallback implementation and/or in tests.

2512.2M6](/packages/beste-in-memory-cache)

PHPackages © 2026

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