Custom PHP Forced Matrix PTC

Job ID: 40317362

Budget: ₹1,500 – ₹12,500 INR

I’m launching a membership platform that fuses a 2×5 forced-matrix compensation plan with a Paid-To-Click ad service. Every time a user buys a matrix position they automatically receive PTC ad credits, so the script has to keep the advertising and commission ledgers perfectly in sync.

Here’s the flow I need built in clean PHP (v8 preferred) and MySQL:

• 2×5 forced-matrix engine: two direct referrals per member, five levels deep, with automatic spill-over, real-time commission tracking, position re-entries and wallet balances updated instantly after each purchase.
• PTC module: advertisers convert their included credits into live ad links; members click those links to earn, with timers, anti-cheat and automatic credit deduction.
• Referral earnings: clicks and matrix commissions both pay the sponsor, with separate tables so I can adjust rates independently.
• Crypto checkout: integrate USDT BEP20 only, using on-chain confirmation callbacks to auto-activate positions and credits. No other payment gateways are required right now.
• Admin area: create/edit packages, view genealogy, approve withdrawals, manage ads, export reports, and tweak global settings from a single dashboard.

The code must be original, well-commented and bootstrap-ready so I can drop in a front-end template later. Once you’ve finished, please deliver the full source, SQL dump, and a short setup guide so I can deploy on a standard LAMP stack without surprises.