halimonalexander / rating-snippet
Html snippet for displaying rating
v1.0.1
2021-02-10 07:48 UTC
Requires
- php: ^7.2
This package is auto-updated.
Last update: 2024-05-10 14:47:34 UTC
README
A simple snippet that can allow drawing rating using stars in few seconds. As default, uses http://schema.org markup.
Example:
use HalimonAlexander\HtmlSnippets\Rating; $rating = new Rating(true, true, 10); echo $rating->fetch(7.8, 124);