PHP Classes

Gamify: Manage user points to implement site game logic

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 50%Total: 914 All time: 3,888 This week: 455Up
Version License PHP version Categories
gamify 1.1BSD License5.0PHP 5, Databases, Games


This class can manage user experience points and achievements to implement site game logic.

It can create database tables that can record the values of experience points earned by site users the accomplish certain achievements.

The class can manage the records of site users participating in the site gaming activities, the user achievements, the levels and experience that they earn, obtain user statistics and top users listings.

Innovation Award
PHP Programming Innovation award nominee
August 2011
Number 3

Prize: One book of choice by Packt
Turning the activity of the users of a site into a game is a way to raise the interest of that site to many users.

This class provides a solution to make it easier to gamify a site by accounting the points earned by each user of the site, awarding badges to the users and compute user rankings.

Manuel Lemos
Picture of Arturs Sosins
  Performance   Level  
Name: Arturs Sosins <contact>
Classes: 22 packages by
Country: Latvia Latvia
Age: 36
All time rank: 511 in Latvia Latvia
Week rank: 225 Down2 in Latvia Latvia Down
Innovation award
Innovation award
Nominee: 13x

Winner: 2x

  Files folder image Files  
File Role Description
Plain text file gamify.php Class Main class
Accessible without login Plain text file start.php Example generate needed tables, create some users, levels, achievements example
Accessible without login Plain text file admin.php Example simple game administration example
Accessible without login Plain text file actions.php Example allow users to gain epxerience and achievements example
Accessible without login Plain text file top.php Example generate statistics and tops example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,888
This week:455Up
User Ratings User Comments (2)
 All time