Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

voidnerd/MLM-Solution

Repository files navigation

MLM Solution

This MLM solution has six level of payments.
Levels are made using tree data structure(clusure table) which makes it better than all the recursive solutions out there.

Features

  • Activation Fee
  • Level payments (all through level six)
  • Paystack payments gateway
  • Fast Tree Structure

Usage

  • clone this repository
  • cd [project-directory]
  • composer install
  • create a .env file, copy all text in .env.example into the .env file and add your configurations.
  • php artisan key:generate
  • create your mysql database, and run the /model.sqlscript
  • php artisan serve

TIP: Change user role from "user" to "admin" in users table, after registering your first user; to see full admin privileges.

TIP: You can change monetary variables on base controller app/Http/Controllers/Controller.php 🤘

How do I thank you?

[ I don't know...start with giving the repo a star and maybe recommend me a cool job. Gracias.

Licensing

  • Copyright © 2019 ndiecodes
  • Licensed under MIT