Download the PHP package vojtasvoboda/oc-reviews-plugin without Composer
On this page you can find all versions of the php package vojtasvoboda/oc-reviews-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vojtasvoboda/oc-reviews-plugin
More information about vojtasvoboda/oc-reviews-plugin
Files in vojtasvoboda/oc-reviews-plugin
Package oc-reviews-plugin
Short Description Reviews plugin for OctoberCMS
License MIT
Homepage https://github.com/vojtasvoboda/oc-reviews-plugin
Informations about the package oc-reviews-plugin
Review plugin for OctoberCMS
Show reviews, ratings or testimonials of your customers. No other plugin dependency. Tested with latest OctoberCMS build 389.
- reviews management with sort order and bulk actions
- rating by stars, sorting to categories
- component build with HTML5 markup using \<figure> and \<cite>
- internal methods for creating new reviews, get approved reviews etc.
Show reviews
Just place component Reviews to your page.
Dependencies
This plugin using https://fontawesome.com/ classes to show stars at Reviews front-end component. You have to include this library or override Reviews component to use your own icons.
Public facade
You can use plugin's facade vojtasvoboda.reviews.facade with this public methods:
When using storeReview
, check Review validation rules has to be satisfied.
TODO
- [ ] frontend form for adding new review
- [ ] config for stars order (ltr, rtl)
- [ ] config for number of stars
- [ ] avarage reviews graph (above the reviews listing)
- [ ] graph of non approved reviews
- [ ] email when new review created and needs to be approved
Contributing
Please send Pull Request to the master branch.
License
Reviews plugin is open-sourced software licensed under the MIT license same as OctoberCMS platform.