Documentation
Thank you for purchasing GamerReward - Ultimate Play to Earn & Ad Revenue PHP Script . This is a high-quality, secure, and modern platform that allows users to earn money by playing games, watching ads, and completing tasks.
Release Date: November 2025
Framework: Core PHP (MVC Pattern) - No Framework Required.
Server Requirements
Before installing, please ensure your hosting server meets the following requirements:
- ✅ PHP Version: 8.0 or Higher
- ✅ Database: MySQL 5.7+ / MariaDB
- ✅ PDO Extension: Enabled (Default on most servers)
- ✅ File Uploads: Enabled (For Images)
- ✅ JSON Extension: Enabled
🚀 Installation Guide
We have included an Automatic Installer to make the process easy. Follow these steps:
Step 1 Upload Files
Unzip the downloaded file. Upload the contents of the Source Code folder to your server's public_html directory (or a subdirectory).
Step 2 Create Database
Go to your hosting cPanel -> MySQL Databases and create a new database. Note down the:
- Database Name
- Database User
- Database Password
Step 3 Run Installer
Open your website URL in a browser (e.g., www.yourdomain.com/install). You will see the installation wizard.
2. Enter your Database Details.
3. Create your Admin Account.
4. Click "Install Script".
After successful installation, go to your file manager and DELETE the
/install folder immediately to prevent unauthorized access.
🛡️ Admin Panel Guide
You can manage the entire website from the admin panel.
- Login URL:
yourdomain.com/login - Dashboard: Access via
yourdomain.com/admin/dashboard
1. General Settings
Go to System -> General Settings to change:
- Site Title & Logo: Change website name, upload logo and favicon.
- Currency: Set Symbol ($, ₹) and Code (USD, INR).
- Coin Rate: Define how many coins equal 1 currency unit (e.g., 1000 Coins = $1).
2. Email (SMTP) Setup
Go to System -> Email & SMTP. This is required for OTP verification and Password Reset.
Host: smtp.gmail.com Port: 465 (SSL) or 587 (TLS) User: your-email@gmail.com Pass: Your App Password (Not Gmail Password)
🎮 Managing Rewards
Spin Wheel
Go to Spin Wheel. Here you can set the Probability of winning.
- Set Probability 0 for items you don't want users to win.
- Set Probability 50+ for common rewards.
Scratch Cards
Go to Scratch Cards. You can create new cards with Min/Max rewards. The system automatically picks a random reward within that range.
Daily Limits
To prevent spam, you can set Daily Limits for Spins, Scratch, and Ads in the Settings page.
💰 Monetization (Ads)
Earn revenue by integrating ads from networks like Adsterra or Monetag.
1. Popup Ads
Go to Admin -> Monetization -> Custom Popups. Add a Direct Link. This ad opens in a new tab when users finish a Spin or Scratch task.
2. Banner Ads
Go to Admin -> Monetization -> Network Ads. Paste your HTML/JS banner code (320x50 or 728x90). This will appear at the bottom of the Game Play page.
🔒 Security Features
Your website is protected against common threats:
- SQL Injection Proof: Uses PDO Prepared Statements.
- XSS Protection: All inputs are sanitized before display.
- Anti-Bot: Daily limits prevent automated bot farming.
- Server-Side Logic: Spin and Scratch rewards are calculated on the server, not the browser, so users cannot hack the JavaScript to win.
📞 Support
If you need help installing or using the script, please contact us.
- Email: boopathid512@gmail.com
- Response Time: Within 24 Hours
Thank you for your purchase! Don't forget to rate us ⭐⭐⭐⭐⭐.