All In One MLM PHP Script
MLM Software
NexMLM is a white-label PHP MLM script that delivers six fully operational compensation plan engines — Binary, Unilevel, Forced Matrix, Board Cycling, Generation, and Hybrid — in a single deployable codebase. Built on raw PHP 8.1+ with MySQL 8.0 and Bootstrap 5, it includes a complete member dashboard, interactive D3.js binary genealogy tree, E-Pin activation system, rank auto-evaluation engine, KYC document verification, and a multi-method withdrawal flow supporting Bank Transfer, PayPal, Stripe, Bitcoin, Ethereum, and USDT TRC-20. NexMLM is sold with 100% unencrypted source code, no domain restrictions, and a commercial license — one payment, unlimited deployments, full white-label rights.
All In One MLM PHP Script
NexMLM is a complete, white-label PHP MLM platform that covers every major compensation plan in a single deployable codebase. Rather than buying a separate script for each plan type, NexMLM ships with Binary, Unilevel, Forced Matrix, Board Cycling, Generation, and Hybrid plan engines — all switchable from the admin panel with no code changes required.
The platform is built on raw PHP 8.1+ with a clean MVC structure, MySQL 8.0, and Bootstrap 5. It includes a full member dashboard, interactive D3.js genealogy tree, E-Pin activation system, multi-method withdrawal flow, KYC document verification, rank auto-evaluation, and a commission engine built on the Strategy design pattern — one PHP class per plan, fully isolated and extensible.
NexMLM is sold with 100% unencrypted source code, no domain restrictions, and a commercial license that allows deployment on unlimited projects.
Compensation Plans
- Binary Plan
Each member has exactly two legs — left and right. Commissions are paid based on pair matching of the weaker leg's volume. Includes carry-forward balance, configurable daily cap in USD, matching bonus for the sponsor, and a daily cron job for automated pair processing. - Unilevel Plan
Unlimited direct recruits at level 1. Commissions are paid across up to 8 configurable depth levels, with a separate percentage rate per level set by the admin. The simplest plan structure to explain to members and the easiest to deploy as a standalone. - Forced Matrix Plan
Fixed width × depth structure, for example 3×9. Members fill positions via depth-first spillover when a row is complete. Matrix completion triggers a configurable cycle bonus payout. Width and depth are both admin-configurable without code changes. - Board Cycling Plan
Members enter boards that split automatically when all seats are filled. The top member cycles out with a reward and re-enters a new board. Remaining members seed the two new boards. Board size, cycle reward amount, and re-entry behavior are all configurable from admin settings. - Generation Plan
Rank-based generational overrides. A new generation begins when a downline member achieves the same rank as the upline. Commission percentage is paid per generation, up to 5 generations deep. Works in combination with the auto-rank evaluation engine. - Hybrid Plan
Runs two plans simultaneously on the same network. The most common combination is Binary + Unilevel. Both engines execute on every package purchase and commissions from both plans are merged into the member's single wallet. Configured via the admin settings JSON panel.
Core Modules
- Member System
Registration with sponsor referral code, username and email login, email verification, member profile management, placement parent and sponsor tracked separately (critical for binary deployments), and placement side auto-assignment (left or right based on leg balance). - Commission Engine
Each plan is implemented as a separate PHP class implementing CommissionInterface — the Strategy pattern. The CommissionEngine orchestrator loads all active plan calculators, processes commissions, inserts rows into the commission ledger, and optionally auto-approves and credits wallets. A commission_runs table maintains a full batch processing audit trail. - E-Pin / Activation Code System
Admin generates batches of up to 100 E-Pins per package from the admin panel. Members redeem pins to activate their account and trigger the commission engine instantly. Pins track status (available, assigned, used, expired) and the member who redeemed them. - Wallet and Payout System
Every member has an internal e-wallet with a full double-entry ledger — balance_after is recorded on every transaction row. Withdrawal methods include Bank Transfer, PayPal, Stripe, Bitcoin, Ethereum, and USDT TRC-20. Each method has its own fee percentage, flat fee, and minimum withdrawal amount. Admin approves withdrawals with an optional transaction reference, or rejects with a full refund to the member's wallet. - Rank System
Admin defines ranks with JSON-based qualification criteria covering minimum direct recruits, minimum personal volume, minimum team volume, and minimum binary pairs. After every commission run, each member's rank is automatically evaluated and upgraded if criteria are met. Cash rewards credit automatically on rank advancement. - Product and Package Store
Admin-defined membership packages with price, personal volume (PV), business volume (BV), validity period, and plan assignment. Supports package upgrades. Members activate packages via E-Pin or direct payment. Package purchase triggers the commission engine for the purchasing member's upline. - KYC Verification
Members upload identity documents — National ID, Passport, Driver's License, Utility Bill, or Selfie with ID. Admin reviews, approves, or rejects each document individually with optional notes. KYC status is tracked per document and per member. - Admin Panel
Dashboard with real-time KPIs — total members, active members, commissions paid, pending withdrawals, today's signups, and today's commissions — plus Chart.js bar chart for 6-month signup trend. Member management with full view, status control, rank override, wallet credit, KYC approval, and direct downline view. Commission ledger with approve-all and individual approval. Withdrawal queue with approve (and transaction reference) or reject with refund. E-Pin generation. Reports filtered by date range. Plan settings with JSON editor per plan. - Genealogy Tree Viewer
Interactive binary tree built with D3.js v7. Members can expand/collapse nodes up to 5 levels deep. Hovering over a node shows full name, rank, left volume, and right volume. The full genealogy table view shows all downline members sorted by depth with rank, status, and join date. - Reports and Analytics
Date-range filtered reports covering commissions by plan, commissions by type (direct referral, level, binary pair, matching, matrix cycle, board cycle, generation, pool, rank bonus), top 10 earners, daily signup trend chart, and payout summary including total paid out and pending amounts. - Referral Link Tracking
Each member's unique referral code generates a shareable registration URL. Clicks are logged with IP address, user agent, and UTM parameters (source, medium, campaign). A converted flag marks successful referral conversions.
Database Structure
NexMLM uses a 24-table MySQL 8.0 schema built on InnoDB with full foreign key constraints and 60+ indexes. Key design decisions include separate sponsor_id and placement_parent_id columns on the members table (critical for binary MLM where a member's referrer and tree placement parent are often different people), a materialized tree_path column for fast deep downline queries without recursive CTEs, daily binary volume snapshots in binary_volume_logs for cron-based pair matching, and JSON settings columns on mlm_plans so all plan configuration is editable from the admin panel without schema changes.
Tables included: countries, currencies, ranks, mlm_plans, packages, members, kyc_documents, member_packages, epins, wallets, wallet_transactions, commission_ledger, commission_runs, binary_volume_logs, matrix_positions, boards, board_members, pool_bonus_pools, pool_bonus_runs, withdrawal_methods, withdrawals, member_bank_details, referral_clicks, notifications, admin_users, settings, email_templates, activity_logs.
Installation
NexMLM installs in under five minutes on any PHP 8.1+ host. Copy .env.example to .env, add your database credentials and site URL, then run php database/install.php. The installer creates the database, runs the full schema, seeds all default data (plans, ranks, packages, currencies, withdrawal methods, system settings), and creates the default admin account. No Composer required. No framework installation. Apache with mod_rewrite or Nginx with try_files — both are supported, with config snippets in the README.
What's Included
- Full PHP source code — 66+ files, 100% unencrypted
- 24-table MySQL schema SQL file with seed data
- One-command database installer (php database/install.php)
- Daily commission cron script for binary pair matching
- README with installation steps, Nginx config snippet, and per-plan JSON configuration reference
- Commercial license — deploy on unlimited domains, rebrand and resell
Tech Stack
- Language: PHP 8.1+
- Database: MySQL 8.0
- UI Framework: Bootstrap 5
- Tree Visualization: D3.js v7
- Charts: Chart.js 4
- Architecture: Raw PHP MVC (no Composer, no framework)
- Web Server: Apache with mod_rewrite / Nginx
- Crypto Payouts: CoinPayments API compatible
Who Is NexMLM For?
- Freelance developers building a custom MLM platform for a client — NexMLM provides the foundation so you bill for customization, not from-scratch development.
- Digital agencies adding network marketing software to their service catalog. White-label it under your brand and offer it as a managed product.
- MLM business owners who want to own their platform instead of paying a SaaS fee every month. You own the code, the data, and the infrastructure.
- Script resellers who deploy for multiple end clients. One purchase, unlimited deployments, full commercial rights.
Frequently Asked Questions
1. Can I run all six plans at the same time?
Yes. Each plan is activated or deactivated from Admin ? Settings ? MLM Plans. You can enable any combination. When Hybrid is enabled it runs two plans concurrently. Most deployments activate two or three plans based on the business model.
2. Is the source code encrypted or obfuscated?
No. NexMLM is sold with 100% unencrypted, fully readable PHP source code. Every file is yours to read, modify, and extend. This is the Coderobotics standard across all products.
3. Does it work on shared hosting?
Yes. NexMLM requires PHP 8.1+ and MySQL 8.0, both standard on modern shared hosting running cPanel or Plesk. The included .htaccess handles URL routing on Apache. A Nginx config snippet is in the README for VPS deployments.
4. How are commissions processed?
Every package purchase triggers the CommissionEngine. It runs each active plan calculator, inserts all commission rows into the commission_ledger table, and in auto-approve mode credits wallets immediately. In manual mode, the admin approves each batch from the Commissions page. Binary pair matching also runs daily via the included cron script.
5. Can I add my own payment gateway?
Yes. Withdrawal payout details are stored as JSON, so adding a new method requires a row in withdrawal_methods and handling in the admin approval flow. Current built-in methods are Bank Transfer, PayPal, Stripe, Bitcoin, Ethereum, and USDT TRC-20.
6. What does the commercial license allow?
You can deploy NexMLM on unlimited domains, rebrand it under any product name, and use it in client projects. You may not redistribute the source code as a standalone script on other marketplaces.
7. Is a Laravel version available?
The current version uses raw PHP MVC, which installs without Composer or any framework — making it straightforward on shared hosting. A Laravel 11 edition is planned for a future release. Contact sales@coderobotics.com to be notified on release.
8. Does it include a demo installer or sample data?
The installer seeds default ranks, plans, packages, currencies, and withdrawal methods automatically. A separate demo data seeder with sample members and commissions is on the roadmap.
License
A regular license permits the use of an item in a single project, whether for personal or commercial purposes, by you or on behalf of a client. Resale of the item, either individually or as part of a project, is prohibited, and the distribution of source files is not allowed.
Hosting Requirements
Compatible with MySQL 5.7 or higher, Apache module, PHP 8.2 or above, on Windows or Linux servers. (Note. For seamless our script performance, compatibility at a low price, we highly recommend Hostinger—reliable, fast, and built for excellence!)
Server Requirements
- Language: PHP 8.1+
- Database: MySQL 8.0
- UI Framework: Bootstrap 5
- Tree Visualization: D3.js v7
- Charts: Chart.js 4
- Architecture: Raw PHP MVC (no Composer, no framework)
- Web Server: Apache with mod_rewrite / Nginx
- Crypto Payouts: CoinPayments API compatible
Payment Type
One time Payment: Upon receiving your full payment, we will provide you with the complete source code. After that, no additional payments will be required.
Delivery Time
We will send the Download Link to you Within 2-4 hrs. On Working Days(Monday- Friday) And the source code will deliver within 4-8 hours On Weekends (Saturday -Sunday).
Technical Support
Unlimited Email Support for One Year.
Script Update
Free Updates for One Year.
Customization Scope
Includes Complete Source Code.
Encryption
No Encryption and No Domain Limitations.
Installation
No Free Installation Services. Our charges range from $5 to $10, depending on the software's complexity and criticality.
No comments yet. Be the first to comment!