About Star Rating Integer

Field that stores ratings as integer

Category 1Field Types
Fieldtype modules that represent a data type used by fields.
Category 2Input Fields
Inputfield modules that provide a UI input widget in the ProcessWire admin.
Release StateStable
Should be safe for use in production environments. *
Module Version1.0.0
Class NameFieldtypeStarRating
Compatibility2.6, 2.7
Date AddedJune 4, 2015
Recommended ByNew recommendations may take up to 1 day to appear.


This module's files should be placed in /site/modules/FieldtypeStarRating/
How to install or uninstall modules



Module for ProcessWire - Field that stores an integer by using a star rating interface.

To install

Copy to /site/modules/ and go to Admin > Modules > Check for new modules.

Tested on ProcessWire 2.6.2 dev

Usage back-end

Create a new field with the fieldtype Star Rating. Set the amount of stars you want to show, by default it is set to 5 stars.

Field settings

Assign the field to any template. Now you can set the field value by selecting any of the 5 stars. The number saved to the database equals the number of stars that are highlighted.

Star Rating

Hovering the stars will show a reset icon, which will reset the value to 0 by clicking on it.

Resetting to 0


  • albert

    albert 4 years ago 10

    What is the best way to implement this in our frontend? It works perfect in my backend...but there is only the current value in the frontend....guess $page->rating is not enough

  • Raymond

    Raymond 4 years ago 00

    I have put an example on how to use this on front-end inside a template


  • Hector Nguyen

    Hector Nguyen 2 years ago 00

    Hello, will it work with 3.0 version?

  • Kuba

    Kuba 3 months ago 10

    Yes it will work with PW 3.0

Post a Comment

Your e-mail is kept confidential and not included with your comment. Website is optional.