amirnajmi/readtime

:package_description

dev-main 2021-04-02 11:30 UTC

This package is not auto-updated.

Last update: 2025-03-27 23:19:26 UTC


README

Latest Version on Packagist Total Downloads Build Status StyleCI

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

Installation

Via Composer

$ composer require amirnajmi/readtime

Quick start

Using the class

Here is an example of the most basic usage:

use AmirNajmi\ReadTime\ReadTime;

$readTime = (new ReadTime($content))->calculateMinutes();

License

license. Please see the license file for more information.