The Ratings plugin will allow you by simply adding the ratings component to your controller to rate anyting. The component will auto load a helper and behavior.
The core part of this plugin is the ratable behavior that is attached to your models. In most cases you don't need attach it yourself, because the rating component will take care of it.
Note: This branch only works for CakePHP3.5+ - please use the respective branch for CakePHP 2.x!
To have a nice star rating to chose from, it ships with the possibility to include JS. The default JS tool in use is:
It should, however, be customizable to any other JS library and templating framework.
https://sandbox.dereuromark.de/sandbox/ratings
For documentation, as well as tutorials, see the docs directory of this repository.
For bugs and feature requests, please use the issues section of this repository.