PHP Classes
elePHPant
Icontem

Francium PHP 5 Star Rating System: Record star ratings of items in a MySQL with AJAX

Recommend this page to a friend!
  Info   View files Example   Demos   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-01-30 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 329 All time: 6,955 This week: 189Up
Version License PHP version Categories
fr-star 0.1The PHP License5.2PHP 5, Databases, Content management, A...
Description Author

This package can record star ratings of items in a MySQL with AJAX.

It can record in a MySQL database using PDO ratings associated to given items by given users.

The ratings can be added or updated depending on whether the user already rated the item.

The class can also check if the user already rated the item and generate HTML to display the given ratings or the stars to let the user click and set the ratings to be submitted to the server via AJAX requests.

  Performance   Level  
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Details

\Fr\Star

A 5 Star Rating System Created With PHP & JavaScript

Documentation & Usage

LICENSED Under Apache License, Version 2.0

  Files folder image Files  
File Role Description
Files folder imagecss (1 file)
Files folder imageimg (2 files)
Files folder imagejs (2 files)
Accessible without login Plain text file ajax_rate.php Example JavaScript sends AJAX request to this file to submit rating.
Accessible without login Plain text file config.php Conf. The database configuration is in this file.
Plain text file Fr.star.php Class The Class
Accessible without login Plain text file index.php Example An example of the usage of the class.
Accessible without login Plain text file LICENSE Lic. Apache License
Accessible without login Plain text file NOTICE Data Contributors
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file tables.sql Data SQL code to create the table required for the class.

 Version Control Unique User Downloads Download Rankings  
 100%
Total:329
This week:0
All time:6,955
This week:189Up