amirnajmi/readtime

:package_description

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

This package is not auto-updated.

Last update: 2024-09-26 21:00:38 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.