PHP Classes

How to Implement a PHP Read Time Estimate to Show in Blog Article Pages - PHP Read Time package blog

Recommend this page to a friend!
  All package blogs All package blogs   PHP Read Time PHP Read Time   Blog PHP Read Time package blog   RSS 1.0 feed RSS 2.0 feed   Blog How to Implement a PH...  
  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Updated on: 2021-07-30

Posted on: 2021-07-30

Package: PHP Read Time

Many users like to read blogs about interesting topics, but often they do not have much time to read long articles.

This class can estimate the time that an article could take to be read by an average user.

This way, sites can show the estimated read time to help users decide if they have the time to read the article when they look at it for the first time or leave it later.




Loaded Article

About the PHP Read Time Package

The package PHP Read Time is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Estimate the time for a person to read an article

Here follows in more detail what it does:

This class can estimate the time for a person to read an article.

It takes the text of an article as a parameter and returns the length of time that it would take a person to read that text. It supports processing text in different languages and text that people should read from right to left.

The class can return the read time as an array with the count of the minutes and seconds or a string that expresses the read time in English.

It can also return the read time in other languages if the class gets the translations of the text messages used to format the read time string.

Conclusion

The PHP Read Time can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.

This package was considered notable for implementing its benefits in a way that is worth noticing.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.

One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.




You need to be a registered user or login to post a comment

1,588,068 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:

FacebookGmail
HotmailStackOverflow
GitHubYahoo


Comments:

No comments were submitted yet.



  Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  
  All package blogs All package blogs   PHP Read Time PHP Read Time   Blog PHP Read Time package blog   RSS 1.0 feed RSS 2.0 feed   Blog How to Implement a PH...  
For more information send a message to info at phpclasses dot org.