/cakephp-ratings

Ratings Plugin for CakePHP

Primary LanguagePHPMIT LicenseMIT

Ratings Plugin for CakePHP

Build Status Latest Stable Version License Downloads Minimum PHP Version Coding Standards

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!

Recommended

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.

Demo

https://sandbox.dereuromark.de/sandbox/ratings

Documentation

For documentation, as well as tutorials, see the docs directory of this repository.

Support

For bugs and feature requests, please use the issues section of this repository.