RaffKing is a self-hosted PHP lottery and raffle platform you buy once and profit from indefinitely. You set the ticket prices. You configure the prizes. A cron job auto-declares the winner the moment each draw ends. Every dollar of ticket revenue belongs to you — no monthly fees, no third-party lottery provider taking a cut, no revenue share with anyone.
Live Frontend Demo | Admin Panel Demo | Documentation
Admin login: admin@wowcodes.in / Admin@WowCodes
Your Automated Lottery Business — KYC-Gated Payouts, Gift Cards, and Zero Revenue Share
How You Make Money
- Ticket Sales (the core model): Set ticket price × total tickets per draw. Configure the prize cost. Everything collected above that is your guaranteed margin — fully automated, no manual work required.
- Coin Wallet Spread: Users pre-load a coin wallet to buy tickets. You control the exchange rate (e.g. $10 buys 950 coins). That 5% spread is permanent margin on every deposit, win or lose.
- Gift Card Economy: Generate and sell individual or bulk vouchers with PDF export. Pre-sold wallet credit is immediate cash. Cards that expire unredeemed are pure profit with zero fulfillment cost.
- Withdrawal Spread: The margin between what users deposited and what they can convert to cash is configurable income built into the platform architecture.
Lottery & Draw Management
- Unlimited simultaneous draws — set ticket price, total quantity, prize tiers, category, and start/end time per draw
- Live, Upcoming, and Closed sections with real-time countdown timers and live stock counters
- Automatic winner declaration via cron — zero manual intervention required
- Manual winner override option per draw
- Raffle-type draws with automatic random ticket allocation
- Printable, branded tickets with unique numbers and QR codes
- Public winners board and per-user winnings history
Compliance & Fraud Prevention
- KYC Verification: Users must submit and pass passport, national ID, or driver’s license verification before withdrawals — reduces fraud and satisfies compliance requirements
- Tax Rules Engine: Configure VAT label, rate, and product type per country code — compliance-ready for EU, UK, India, UAE, and beyond
- Multi-Currency Exchange Rates: Set custom rates for international users — define the spread between your rate and the real rate
- Bulk Gift Cards with PDF Export: Generate thousands of unique voucher codes in one click and export a print-ready PDF for retail distribution
- Google, Facebook, and Apple social login (OAuth2 / RS256) — less friction, more signups
- 18+ languages with RTL support (Arabic, Urdu, Hebrew, Persian) and a frontend language switcher in the header
- Newsletter subscriber management and transactional email templates
- Coupon and discount code system for promotions
- Firebase push notifications and SEO meta management per page
- Progressive Web App — installs as a mobile app, no App Store required
Payments, Admin & Operations
- 39 automatic and manual payment gateways — Stripe, PayPal, Razorpay, Flutterwave, bKash, M-Pesa, Coinbase, Binance, NowPayments, and more
- Multi-admin accounts with 8 granular permission flags per account
- Full transaction export for financial audits
- Order management, banner management, CMS pages (Privacy, Terms, Cancellations, Cookies), and support tickets
Why Choose RaffKing?
- 4+ Years of Active Development: Continuously updated from v1.0 (2022) through v7.0 (2026). Not a fly-by-night script — a long-term platform investment.
- Battle-Tested & Audited: A comprehensive third-party security audit identified and resolved 51 vulnerabilities. CSRF tokens, atomic SQL wallet updates, server-side payment revalidation, per-installation JWT secrets, RS256 Apple OAuth, and CLI-only cron guards are all standard.
- Modern Tech Stack: PHP 8+, MySQL, Tailwind CSS, Alpine.js. Self-hosted on any standard server. One-time purchase — no SaaS fees, no revenue share.
- Live Demo Available: Explore the full platform — frontend and admin — before purchasing. See the link at the top of this listing.
Product Changelog & Version History
Version 7.0 (Released on 29th March 2026)
- Raffle System – New lottery type with automatic random ticket allocation for raffle-style draws.
- Coupons System – Create and apply discount coupons to boost ticket purchases and user engagement.
- Multi Vendor Support – Allow users to become sellers and manage prize item listings (admin-controlled).
- Dark Mode – Seamless switching between light and dark themes for improved user experience.
- Multi-Language Support – Expanded admin panel accessibility with multiple language configuration options.
- Advanced Theme Customization – Set global theme colors across the entire user interface from the admin panel.
- Improved Lotteries – Automatically extends lottery draws if the minimum ticket sales threshold is not met before draw end.
Version 6.9 (Released on 28th February 2026)
- Enhanced Support Tickets with a better UI/UX and enhanced features for users.
Version 6.8 (Released on 29th January 2026)
- Added User Details for Admin so that they can see user insights in one place.
- Fixed a bug in French Language where users were unable to load some modals.
- Enhanced Exchange Rate where admin can set the currency values of other currencies.
- Enhanced Admin Settings with a better UI/UX and enhanced features.
- Enhanced Support Tickets with a better UI/UX and enhanced features for users.
Version 6.7 (Released on 1st January 2026)
- Added Export Transactions for Admin for Financial Audits.
- Added Shipping Fee for orders and prize fulfillment.
- Added Live Stock Status for tickets in the lottery play arena.
- Added Multiple Languages configuration option in header for users.
- Enhanced RTL (Right to Left) feature for Arabic/Urdu Language.
- Enhanced Lottery Play Arena with a better and improved UI.
- Enhanced Admin Panel with improved UI/UX and added more features.
Version 6.6 (Released on 14th December 2025)
- Added Batch Gift Card generation option for admin where now admin can generate multiple gift cards with a single click.
Version 6.5 (Released on 29th November 2025)
- Introduced Progressive Web App (PWA) allowing users to get an app-like experience on mobiles.
- Introduced 18 Multiple Language Support like Arabic, German, French, Spanish etc.
Version 6.4 (Released on 27th October 2025)
- Introduced powerful Search Facility across the platform.
- Launched WowCodes AI for meaningful insights and intelligent suggestions.
- Added Preloader for smoother content loading experience.
- Enhanced website security with additional protection layers.
- Improved Bottom Navigation for mobile devices.
- Upgraded Item Descriptions – Admin can now use HTML in prize and item descriptions.
- Improved Payment Gateway reliability and performance.
- Enhanced lottery experience on mobile devices.
Version 6.3 (Released on 22nd September 2025)
- Resolved issue with mobile number login.
- Enhanced Lottery Draw pages with live, dynamic countdown timers.
Version 6.2 (Released on 28th August 2025)
- Added Info Button on lottery cards for quick draw details.
- Improved Manual Payment flow — admin can now enlarge images for better clarity.
- Email notifications added for manual payment status updates (Admin and Users).
- Admins can now reopen closed support tickets.
- Fixed signup issue causing users to get stuck.
- Fixed mobile responsiveness issues in Admin panel.
Version 6.1 (Released on 15th July 2025)
- Added option to enable/disable Google Translator from Admin Panel.
- Fixed lottery ticket purchasing issue affecting certain edge cases.
Version 6.0 (Released on 29th June 2025)
- Major UI redesign across Admin and User panels.
- Integrated 31 new payment gateways (total 39+ now supported).
- Introduced Gift Card Module.
- Enhanced Lottery System with manual draw option.
- Optimized mobile performance and page loading speed.
- Added RTL Support and Translation Manager.
- Security patches and overall performance improvements.
- Fixed bugs reported in Version 5.3.
Version 5.7 – 5.9
- Internal development builds leading up to Version 6.0.
Version 5.6 (Released on 27th May 2025)
- Minor bug fixes and stability improvements.
Version 5.5 (Released on 25th April 2025)
- Added additional payment gateways.
Version 5.4 (Released on 29th March 2025)
- Completely revamped UI for enhanced usability.
- Improved caching and performance for faster loading.
- Added admin reports for Lottery and Sellers.
- Added support for new payment gateways.
- Android app discontinued.
Version 5.3 (Released on 8th February 2025)
- Introduced Referral Program with user rewards.
- Improved account protection and security layers.
Version 5.2 (Released on 11th December 2024)
- Enhanced homepage UI and layout.
- Added Category Support for better organization of lottery draws.
- Improved mobile responsiveness and performance.
- Resolved dashboard design issues.
Version 5.1 (Released on 13th October 2024)
- Fixed minor bugs and UI inconsistencies.
Version 5.0 (Released on 21st August 2024)
- Added extended admin controls.
- Added multilingual support with more languages.
- Integrated additional payment gateways.
Version 4.9 (Released on 17th June 2024)
- Added Prize Item Management with order fulfillment support.
- Added Manual Payment options.
- Expanded multi-language support.
Version 4.8 (Released on 25th May 2024)
- Added new admin controls.
- Enhanced website interface and stability.
- Introduced multiple language support for users.
- Minor bug fixes.
Version 4.7 (Released on 26th April 2024)
- Enhanced Lottery and Prize Item modules.
- Added Send Notifications feature.
- Expanded admin control capabilities.
- Added options for Featured Items and Featured Sellers in banners.
- Added Download Button in admin panel for data export.
- Added in-app Search Facility.
- Added more payment modes.
Version 4.6 (Released on 23rd February 2024)
- General website improvements and performance optimizations.
Version 4.5 (Released on 26th January 2024)
- Introduced KYC Verification for user identity verification before withdrawals.
- Sellers can now add coins to user accounts directly.
- Added support for Multiple Winners and Multiple Prizes per draw.
- Added support for Multiple Images per prize item.
- Introduced Tickets History page for users.
- Added new User Profile Page.
- Added “Notify Me” option on upcoming draws.
- Added Set Timezone option in Admin Panel.
- Fixed user signup issue.
- Redesigned Winner’s Page and Lottery Play pages.
- Expanded Address Page with additional fields.
- Redesigned Seller Page for improved usability.
Version 4.4 (Released on 24th December 2023)
- Added new language support: Urdu.
- Introduced Upcoming Page for scheduled draws.
- Improved user interface and layout design.
Version 4.3 (Released on 26th November 2023)
- Introduced Web Version of the platform.
- Added new language support: Hindi.
Version 4.2 (Released on 22nd October 2023)
- Introduced Night Mode for better visual comfort.
- Added “View All Draws” button for easier browsing.
Version 4.1 (Released on 27th September 2023)
- Integrated new Payment Gateway.
- Improved Lottery Arena performance and experience.
- Added Quantity Management for prize items.
Version 4.0 (Released on 28th August 2023)
- Enhanced Prize Redemption flow for smoother prize claims.
- Improved Wallet System and payment reliability.
Version 3.9 (Released on 25th July 2023)
- Introduced Prize Redeem Center for tracking and claiming winnings.
- Fixed various bugs and improved overall stability.
Version 3.8 (Released on 21st June 2023)
- Added ability to Browse Draws by City.
- Admin can now upload images for Coin Shop Packages.
Version 3.7 (Released on 26th May 2023)
- Users can now explore draws without signing up.
- Admins can update Payment Gateway Keys directly from Admin Panel.
Version 3.6 (Released on 30th April 2023)
- Added Order Management for Sellers in Seller Panel.
- Admins can now organize prize items by category.
Version 3.5 (Released on 31st March 2023)
- Added new Payment Gateway.
- Expanded Admin Controls for better management.
Version 3.4 (Released on 24th February 2023)
- Introduced Seller Profiles.
- Fixed minor bugs and UI issues.
Version 3.3 (Released on 25th January 2023)
- Launched new Landing Page for the platform.
- Added Country Selection during signup and login.
Version 3.2 (Released on 31st December 2022)
- Integrated Mpesa Payment Gateway.
- Added Order Management System.
- Introduced Sliding Banners for dynamic content display.
Version 3.1 (Released on 24th November 2022)
- Launched Multivendor System.
- Introduced Seller Portal for vendor operations.
Version 3.0 (Released on 19th October 2022)
- Revamped overall UI for a fresh, modern look.
Version 2.9 (Released on 25th September 2022)
- Integrated Flutterwave Payment Gateway.
- Added Referral System for user engagement.
Version 2.8 (Released on 29th August 2022)
- Added Notifications System for user updates.
Version 2.7 (Released on 30th July 2022)
- Introduced User Profile Page.
- Winners can now Claim Winnings directly.
Version 2.6 (Released on 23rd June 2022)
- Added Winners Page.
- Introduced Banner Management for admin.
Versions 1.0 – 2.5
Introduced core modules including Lottery, Payment Gateways, and initial Admin and User Dashboards. Several foundational improvements were made during these versions.
By purchasing a license, you agree to our Terms and Conditions.