Menu

One MLM Platform That Covers Every Compensation Plan

MLM Scripts

Most MLM software is built for one plan. You buy a binary script for a binary client. You buy a unilevel script for a unilevel client. When your next client runs a forced matrix network, you buy another script. Every new engagement means a new codebase, a new learning curve, and a new license fee.

NexMLM solves this problem permanently. It is a single PHP MLM platform that ships with six fully operational compensation plan engines — Binary, Unilevel, Forced Matrix, Board Cycling, Generation, and Hybrid — in one codebase, on one database, with one admin panel. You activate the plans your client needs and leave the rest switched off. When your next client needs a different plan, you flip the toggle. No new purchase. No new deployment. No starting over.

This post covers exactly how NexMLM works, what is inside each compensation plan engine, and why buying one multi-plan MLM platform is a smarter decision than buying separate scripts for each plan type.

The Problem with Single-Plan MLM Scripts
 

When a developer or agency builds for multiple MLM clients over time, the single-plan script model creates compounding problems.

Every plan has a different database structure. A binary MLM needs a placement tree with left and right side tracking. A unilevel MLM needs sponsor depth traversal. A forced matrix needs position indexing with spillover logic. A board cycling plan needs board state management with split tracking. Buying separate scripts means maintaining separate codebases, separate database schemas, and separate admin panels — all of which need to be learned, customized, and updated independently.

When a client wants to change their compensation plan — which happens more often than most developers expect — a single-plan script means rebuilding on a completely different codebase. When a client wants to run two plans simultaneously, which is common in hybrid MLM businesses, a single-plan script cannot do it at all.

NexMLM was designed from the beginning to solve this. Every plan is implemented as an independent PHP class behind a shared interface. The platform's core — member registration, wallet system, withdrawal flow, KYC, rank evaluation, admin panel, and reporting — is shared across all plans. Adding or removing a plan is a database toggle, not an architectural change.

The Six Compensation Plans Inside NexMLM
 

Binary Plan

The binary plan is the most widely used MLM compensation structure in the world. Every member has exactly two positions under them — a left leg and a right leg. When a new member joins through their referral, they are placed on either the left or the right side of the tree. Commissions are paid based on pair matching: when both legs accumulate a matching unit of business volume, a pair is counted and the member earns a commission.

Inside NexMLM, the binary engine handles left and right leg volume propagation automatically on every package purchase. It tracks carry-forward volume — the unmatched portion of the stronger leg that rolls over into the next cycle. It applies a configurable daily earning cap so no single member can earn beyond the set limit in one day. It pays a matching bonus to the sponsor on every commission their recruit earns. And it runs a daily cron job that processes pair matching across all active members on a scheduled basis.

The admin panel gives full control over the binary commission percentage, matching bonus percentage, maximum pairs per cycle, daily cap in USD, and whether carry-forward volume flushes or accumulates between cycles. All of this is configurable from the plan settings JSON editor — no code change required.

Unilevel Plan

The unilevel plan is the simplest and most transparent MLM compensation structure available. Every member can recruit an unlimited number of direct referrals at level one. Commissions are paid across a configurable number of depth levels — typically six to ten — with a separate percentage rate per level.

Inside NexMLM, the unilevel engine walks up the sponsor tree from the purchasing member and credits a commission to each active upline member according to their level depth and the configured rate for that level. The traversal stops when it reaches the maximum configured depth or runs out of upline members.

The admin controls the number of active levels and the commission percentage per level from the plan settings. A typical configuration pays 10% at level one, 5% at level two, 3% at level three, and so on — but every rate and every level count is editable without touching code.

Forced Matrix Plan

The forced matrix plan gives every member a fixed number of positions directly under them. In a 3×9 matrix, for example, each member can have at most three direct recruits. When those three positions are filled, any new recruits spill over to the next available position in the downline, filling the matrix depth by depth.

Inside NexMLM, the matrix engine uses a breadth-first search to find the next available position in the matrix tree whenever a new member is placed. It tracks each member's position, parent, position index, level, and row number in a dedicated matrix_positions table. When all positions in a parent's direct row are filled, the engine triggers a configurable cycle bonus that credits the member whose row completed. The width and depth of the matrix — and the cycle bonus amount — are all configurable from admin settings.

Matrix plans are popular in subscription clubs and co-op purchase networks because the spillover mechanic means members benefit from their upline's recruiting activity even if they recruit nothing themselves.

Board Cycling Plan

The board cycling plan works differently from tree-based plans. Members enter a board — a fixed-capacity group. When the board fills to capacity, it splits. The top member of the board cycles out, receives a reward, and re-enters a new open board. The remaining members seed two new boards and continue filling.

Inside NexMLM, the board engine manages board state in a boards table and tracks each member's seat position in a board_members table. When a board reaches capacity, the engine marks it as filled, pays the cycle reward to the top seat member, splits the remaining seats into two new boards, and — if re-entry is enabled — places the cycled member into the next available open board automatically.

The board size, cycle reward amount, and re-entry behavior are all configurable. Board cycling plans are common in gifting-style networks and community savings programs where the excitement of cycling out drives member engagement.

Generation Plan

The generation plan is a rank-driven commission structure. Instead of paying across fixed levels, it pays across generations — and a new generation begins whenever a downline member achieves the same rank as the upline. The higher the rank of your downline, the deeper your generational reach and the more you earn.

Inside NexMLM, the generation engine walks up the sponsor tree and identifies generation boundaries by comparing member ranks. When it finds an upline member whose rank equals or exceeds the purchasing member's rank, it counts a new generation and credits the configured commission for that generation number. The engine supports up to five generations with a separate percentage per generation.

Because the generation plan is rank-driven, it pairs tightly with NexMLM's auto-rank evaluation engine, which evaluates every member's rank after each commission run and upgrades them automatically when their direct recruit count, personal volume, and team volume meet the criteria defined for the next rank.

Hybrid Plan

The hybrid plan runs two compensation plan engines simultaneously on the same network. The most common combination is Binary plus Unilevel — members earn pair matching commissions from the binary engine and level commissions from the unilevel engine on the same purchase trigger. Both sets of commissions are calculated, inserted into the commission ledger, and credited to the respective member wallets in a single transaction.

Inside NexMLM, the hybrid configuration is set in the plan settings JSON — you specify the primary plan and the secondary plan, and the CommissionEngine loads both calculators and runs them in sequence on every package purchase. This means a single deployment can serve a client who wants the excitement of binary matching plus the transparency of level commissions without running two separate platforms.

The Admin Plan Switcher
 

The plan switcher is one of the most operationally valuable features in NexMLM. Every compensation plan has its own row in the mlm_plans table with an is_active flag and a settings JSON column. From Admin ? Settings ? MLM Plans, the admin can toggle any plan on or off and edit the plan's configuration parameters directly in the browser.

This means a single NexMLM installation can serve a client who launches with the unilevel plan, decides six months later to add binary, and later wants to test a hybrid configuration — all without a developer touching the codebase. The plan engines are always present in the code. Only the active flag changes.

For developers and agencies, this is significant. One NexMLM installation is genuinely reusable across different clients with different compensation requirements. The only things that change per deployment are the .env configuration, the branding, and which plans are toggled active in the admin panel.

Everything Else That Ships With NexMLM
 

The six compensation plan engines are the headline feature, but NexMLM is a complete MLM platform. Every supporting system that a real network marketing business needs is included and production-ready.

The member dashboard gives members a real-time view of their wallet balance, total earnings, direct referrals, and team count. The binary volume panel shows left leg and right leg volumes with carry-forward balances. The interactive genealogy tree — built with D3.js v7 — lets members expand and collapse their downline up to five levels deep, hover over any node to see that member's rank and volume, and identify which legs need attention.

The E-Pin system lets admins generate batches of up to 100 activation codes per membership package. Members redeem a pin to activate their account and instantly trigger the commission engine for their upline. This is the most common activation model for MLM businesses that sell packages offline or through distributors before the platform goes live.

The KYC system handles identity document upload and admin verification for National ID, Passport, Driver's License, Utility Bill, and Selfie document types. Admin approves or rejects each document individually with optional review notes. KYC status is tracked per document and per member.

The wallet system maintains a full double-entry ledger — every transaction records the resulting balance, making reconciliation straightforward. The withdrawal system supports Bank Transfer, PayPal, Stripe, Bitcoin, Ethereum, and USDT TRC-20, with configurable fee percentage and flat fee per method. Admins approve withdrawals with a transaction reference or reject with automatic refund to the member's wallet.

The rank system auto-evaluates every member after each commission run. Admin defines ranks with JSON-based criteria covering minimum direct recruits, personal volume, and team volume. When a member meets the criteria, their rank upgrades automatically and a configured cash reward credits to their wallet.

The reports section provides date-filtered analytics covering commissions by plan, commissions by type, top ten earners, daily signup trend, and payout summary — giving the admin a complete financial picture of the network at any point in time.

How NexMLM Is Built
 

NexMLM runs on raw PHP 8.1+ with a clean MVC structure — no Composer dependency, no framework installation, no complex setup process. The database is MySQL 8.0. The UI is Bootstrap 5 with D3.js for the tree viewer and Chart.js for admin reports.

The commission engine is built on the Strategy design pattern. Each plan is a separate PHP class implementing CommissionInterface with a single calculate() method. The CommissionEngine class loads all active plan calculators at runtime and processes them in sequence. This means adding a new plan in the future is a matter of writing one new class and one new database row — no modification to existing code required.

The 24-table MySQL schema is production-ready with full InnoDB foreign key constraints, 60+ indexes, and a materialized tree_path column on the members table for fast deep downline queries. Key tables include commission_ledger for every commission row with plan and type tagging, commission_runs for batch processing audit trail, binary_volume_logs for daily pair matching snapshots, matrix_positions for forced matrix placement tracking, and boards plus board_members for cycling plan state management.

Installation takes under five minutes. Copy .env.example to .env, add database credentials and site URL, run php database/install.php. The installer creates the database, runs the full schema, seeds ranks, packages, currencies, withdrawal methods, and system settings, and creates the default admin account.

NexMLM vs Buying Separate MLM Scripts
 

The case for buying NexMLM over separate single-plan scripts comes down to four things.

  • Cost. Buying separate Binary, Unilevel, Matrix, Board, and Generation scripts individually would cost significantly more than a single NexMLM license. If a client ever changes their plan preference — which is common in the first year of any MLM launch — there is no additional purchase required.
  • Maintenance. One codebase to update, one database to back up, one admin panel to train clients on. Five separate scripts means five times the maintenance surface.
  • Flexibility. A client who launches with unilevel and decides to add binary six months in does not require a platform migration. The binary engine is already in the code. The admin flips the toggle.
  • Hybrid capability. No single-plan script can run two plans simultaneously. If a client wants binary plus unilevel commissions on the same purchase, only a multi-plan architecture like NexMLM can do it.

Who NexMLM Is For
 

  • Freelance developers who work with multiple MLM clients across different industries. NexMLM gives them one platform that handles any client brief without starting from scratch.
  • Digital agencies that want to add MLM software to their service catalog. NexMLM can be white-labeled under the agency's brand and offered as a managed product with the agency's own support and pricing on top.
  • MLM business owners who want to own their platform instead of paying a SaaS provider month after month. With NexMLM you own the code, the database, and the server. No vendor can change your pricing, shut down your access, or hold your member data.
  • Script resellers who deploy for multiple end clients. The commercial license included with NexMLM allows unlimited domain deployments and full resale rights for client projects.

Get NexMLM
 

NexMLM is available at coderobotics.com/product/all-in-one-mlm-php-script.

One-time payment. Full unencrypted PHP source code. No domain restrictions. Commercial license included. Instant download after purchase.

If you need help choosing between NexMLM and one of the focused single-plan scripts — Binary, Unilevel, Forced Matrix, Ecommerce MLM, or Membership Plan MLM — all six are listed at coderobotics.com/product-category/mlm-software.

This article was posted by Sasi and tagged in NexMLM is a white-label PHP MLM script

Leave a Comment

Comments

No comments yet. Be the first to comment!