https://github.com/dereuromark/cakephp-ratings
Ratings Plugin for CakePHP
https://github.com/dereuromark/cakephp-ratings
Last synced: about 1 month ago
JSON representation
Ratings Plugin for CakePHP
- Host: GitHub
- URL: https://github.com/dereuromark/cakephp-ratings
- Owner: dereuromark
- License: mit
- Created: 2012-05-18T23:54:52.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2024-11-16T19:06:47.000Z (5 months ago)
- Last Synced: 2025-02-27T07:42:19.463Z (about 2 months ago)
- Language: PHP
- Homepage:
- Size: 401 KB
- Stars: 9
- Watchers: 5
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cakephp - Ratings plugin - Allows users to rate records and displays ratings. (Social)
README
# Ratings Plugin for CakePHP
[](https://github.com/dereuromark/cakephp-ratings/actions/workflows/ci.yml?query=branch%3Amaster)
[](https://packagist.org/packages/dereuromark/cakephp-ratings)
[](LICENSE)
[](https://packagist.org/packages/dereuromark/cakephp-ratings)
[](https://php.net/)
[](https://github.com/php-fig-rectified/fig-rectified-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](https://github.com/dereuromark/cakephp-ratings/wiki#cakephp-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:* https://github.com/kartik-v/bootstrap-star-rating
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](docs/) directory of this repository.
## Support
For bugs and feature requests, please use the [issues](https://github.com/dereuromark/cakephp-ratings/issues) section of this repository.