divineomega/php-reading-time 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

divineomega/php-reading-time

最新稳定版本:v1.0.1

Composer 安装命令:

composer require divineomega/php-reading-time

包简介

Calculates reading time for text

README 文档

README

Build Status Coverage Status StyleCI

This PHP library lets you easily calculate the reading time for a piece of text.

Installation

You can install PHP Reading Time using Composer, as follows.

composer require divineomega/php-reading-time

Usage

The following examples show how you can use PHP Reading Time to calculate the reading time in minutes or seconds. You can also set a reading speed in words per minute (default: 200 wpm).

$readingTime = new ReadingTime($text);

$readingTime->seconds();
$readingTime->minutes();

$readingTime->setWordsPerMinute(240)->minutes();

统计信息

  • 总下载量: 925
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 16
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 16
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0-only
  • 更新时间: 2018-04-07