PHPackages                             icawebdesign/reading-time - 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. icawebdesign/reading-time

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

icawebdesign/reading-time
=========================

Calculate indication of length of time to read an article

1.2.0(3y ago)0237MITPHPPHP &gt;=7.2.0

Since Jan 27Pushed 2y agoCompare

[ Source](https://github.com/digiservnet/reading-time)[ Packagist](https://packagist.org/packages/icawebdesign/reading-time)[ RSS](/packages/icawebdesign-reading-time/feed)WikiDiscussions master Synced today

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

PHP library for calculating time to read an article.
====================================================

[](#php-library-for-calculating-time-to-read-an-article)

[![Latest Stable Version](https://camo.githubusercontent.com/2769e924dd956cbeb38c8e26dbaa7d909f645087d01010c3a9549db1b3186218/68747470733a2f2f706f7365722e707567782e6f72672f69636177656264657369676e2f72656164696e672d74696d652f76657273696f6e)](https://packagist.org/packages/icawebdesign/reading-time)[![Total Downloads](https://camo.githubusercontent.com/cf7b8efba572ec08df7c9e59841a3c4ed2152f42aed29a83491b640735a15ba6/68747470733a2f2f706f7365722e707567782e6f72672f69636177656264657369676e2f72656164696e672d74696d652f646f776e6c6f616473)](https://packagist.org/packages/icawebdesign/reading-time)[![License](https://camo.githubusercontent.com/3a47047799fcada81f3b3adae38778c9691c0c153b201a48f87b8e773b8c955b/68747470733a2f2f706f7365722e707567782e6f72672f69636177656264657369676e2f72656164696e672d74696d652f6c6963656e7365)](https://packagist.org/packages/icawebdesign/reading-time)

Requirements
------------

[](#requirements)

- PHP 7.2.0+

Installation
------------

[](#installation)

```
composer require icawebdesign/reading-time
```

### Usage

[](#usage)

```
// Return number of minutes
$readingTime = new ReadingTime();
$minutes = $readingTime->minutes($string); // eg: 5
```

```
// Return minutes with suffix
$readingTime = new ReadingTime();
$readingLength = $readingTime->minutesWithSuffix($string); // eg: 5 minute read
```

```
// Change reading speed (default: 250 words-per-minute)
$readingTime = new ReadingTime(400);
$minutes = $readingTime->minutes($string);
```

```
// Change suffix string
$readingTime = new ReadingTime();
$readingLength = $readingTime->minutesWithSuffix($string, 'mins reading');
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Ian.H](https://github.com/icawebdesign)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

26

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community6

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

Total

3

Last Release

1414d ago

### Community

Maintainers

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

---

Top Contributors

[![digiservnet](https://avatars.githubusercontent.com/u/57901585?v=4)](https://github.com/digiservnet "digiservnet (1 commits)")

---

Tags

articlereadingicawebdesign

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/icawebdesign-reading-time/health.svg)

```
[![Health](https://phpackages.com/badges/icawebdesign-reading-time/health.svg)](https://phpackages.com/packages/icawebdesign-reading-time)
```

###  Alternatives

[mtownsend/read-time

A PHP package to show users how long it takes to read content.

281666.3k2](/packages/mtownsend-read-time)[georgringer/news

News system - Versatile news system based on Extbase &amp; Fluid and using the latest technologies provided by TYPO3 CMS.

2845.4M137](/packages/georgringer-news)[j0k3r/php-readability

Automatic article extraction from HTML

184929.4k11](/packages/j0k3r-php-readability)[andrefigueira/blog-article-faker

Generate random blog article titles and content (including markdown) using faker

1415.0k](/packages/andrefigueira-blog-article-faker)

PHPackages © 2026

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