codecycler/oc-readingtime-plugin

Calculate reading time for October CMS

1.0.1 2021-03-31 14:19 UTC

This package is auto-updated.

Last update: 2024-11-29 06:22:42 UTC


README

This plugin adds a Twig filter for calculating the reading time for a given text.

Installation

You can easily install this plugin by requiring it as a dependency in your composer project. Just run composer require codecycler/oc-readingtime-plugin or manually add it to your composer.json file to install this plugin.

Twig functions

Currently there is only one Twig filter. You can easily calculate the reading time in minutes for a given text in Twig by using the |readingTime filter.

Contribution

Please feel free to contribute by creating a PR and submitting it to the develop branch.

License

© 2021, Codecycler under GNU GPL v3.

This plugin is sponsored by Codecycler