- Download the archive or clone the project using git
- Create database schema as
brandboost - Create
.envfile from.env.examplefile and adjust database parameters - Run
composer install - Go to the
publicfolder - Start php server by running command
php -S 127.0.0.1:8000 - Open in browser http://127.0.0.1:8000
BrandBoost is a marketplace platform that connects businessmen (buyers) with influencers and designers (sellers) who offer various creative services. The platform manages the entire transaction lifecycle from service discovery to delivery, handling orders, payments, communications, and dispute resolution.
This document provides a high-level overview of the BrandBoost system, its key user roles, core architecture, and primary functionalities.
For detailed information about specific subsystems, refer to:
- System Architecture
- Order Management System
- Payment and Transaction System
- User Management and Authentication
BrandBoost follows an MVC (Model-View-Controller) architectural pattern with a clear separation of concerns:
Layers:
- Database
- Models (e.g., User, Order, Transaction, Service, Wallet)
- Controllers
AuthControllerOrderControllerPaymentControllerServiceControllerBusinessmanControllerInfluencerControllerDesignerControllerAdminController
- Routing Layer (via
public/index.php) - User Interfaces:
- Businessman UI
- Influencer UI
- Designer UI
- Admin UI
- Guest UI
📁 Related Code:
controllers/OrderController.php(lines 5–20)controllers/PaymentController.php(lines 5–11)public/index.php(lines 1–17)core/Database/Database.php(lines 11–45)
BrandBoost supports four primary user roles, each with distinct permissions and capabilities:
| Role | Description | Key Capabilities |
|---|---|---|
| Businessman | Buyers who purchase creative services | Browse services, place orders, request revisions, submit reviews, file complaints |
| Influencer | Sellers who offer promotion services | Create promotions, fulfill orders, manage earnings, withdraw funds |
| Designer | Sellers who offer design services | Create gigs, fulfill orders, manage earnings, withdraw funds |
| Admin | Platform administrators | Manage users, verify accounts, resolve disputes, monitor transactions |
Access Control:
Role-based access is enforced through the AuthHelper class to ensure users can only access authorized functionality.
📁 Related Code:
controllers/AuthController.php(lines 10–90)public/index.php(lines 38–83)controllers/BusinessmanController.php(lines 8–14)controllers/InfluencerController.php(lines 8–14)
One of the core components of BrandBoost is the order management system. The lifecycle typically follows these stages:
-
Order Creation
- Method:
createOrder()–OrderController - Triggers
createTransaction()inPaymentControllerto hold funds
- Method:
-
Delivery by Seller
- Method:
createDelivery()–OrderController
- Method:
-
Review by Buyer
- Method:
createReview()
- Method:
-
Optional Actions:
- Request Revision –
requestRevision() - Submit Complaint –
submitComplaint() - Admin Resolution:
- Resolve for Buyer → Refund
- Resolve for Seller → Continue process
- Request Revision –
-
Funds Release
- Method:
releaseFunds()–PaymentController - Funds credited to seller's wallet
- Sellers can withdraw using
withdrawFunds()
- Method:
Explore the full codebase here:
👉 https://github.com/kavindadimuthu/Brandboost
- @kavindadimuthu
- @isurunvn
- @NadunD14
- @nethsilumarasinghe