Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here

Multi-Vendor E-Commerce Database Example

This repository is an example of a complex Laravel database with migrations/models/factories/seeders.

You can find Database Seeders inside the repository, which will generate fake data for you:

database/seeders/DatabaseSeeder.php

class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*/
public function run(): void
{
$this->call([
RoleSeeder::class,
PermissionSeeder::class,
RolePermissionSeeder::class,
 
OrderStatusSeeder::class,
OrderRefundStatusSeeder::class,
OrderReturnStatusSeeder::class,
OrderShipmentStatusSeeder::class,
PaymentMethodSeeder::class,
ProductStatusSeeder::class,
EmailCampaignStatusSeeder::class,
 
UserSeeder::class,
UserAddressSeeder::class,
 
VendorSeeder::class,
 
ProductCategorySeeder::class,
ProductAttributeSeeder::class,
ProductSeeder::class,
ProductReviewSeeder::class,
 
OrderSeeder::class,
 
PaymentVendorSeeder::class,
VendorSettingsSeeder::class,
VendorPaymentsSeeder::class,
VendorReviewsSeeder::class,
 
CouponSeeder::class,
ReviewSeeder::class,
WishlistSeeder::class,
 
CartSeeder::class,
CartItemSeeder::class,
 
EmailCampaignSeeder::class,
PromotionSeeder::class,
]);
}
}

In this example, we want you to be curious and play with different queries and even attempt to build the system yourself.

Want to Get Access to GitHub Repository?

Unlock the complete README, installation instructions, code walkthrough, and direct access to clone the repository. Join our premium membership to access all project examples.

Full Source Code
Clone and customize
Documentation
Complete setup guides
All Examples
15 premium projects
Become a Premium Member for $129/year or $29/month