Download the PHP package pownall/read-time without Composer
On this page you can find all versions of the php package pownall/read-time. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pownall/read-time
More information about pownall/read-time
Files in pownall/read-time
Package read-time
Short Description Simple package for displaying read time
License MIT
Homepage https://github.com/leepownall/read-time
Informations about the package read-time
Read Time
Simple package for displaying read time.
Installation
You can install the package via composer:
Usage
Using get()
Using __toString()
Using blade directive
Pass in wordsPerMinute
Output
It uses Carbon under the hood, specifically forHumans on the CarbonInterval.
The output looks like
Config
Default wordsPerMinute is 200. You can override this by passing it in, or publish the config and override there.
php artisan vendor:publish --tag=readtime-config
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Lee Pownall
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of read-time with dependencies
illuminate/contracts Version ^10.0|^11.0
nesbot/carbon Version ^2.0
spatie/laravel-package-tools Version ^1.0