Skip to content

dereuromark/cakephp-ratings

Repository files navigation

Ratings Plugin for CakePHP

CI 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 anything. 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 to attach it yourself, because the Rating component will take care of it.

Note: This branch is for CakePHP 5.0+. For details see version map.

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.