DEV3 Technologies home

DEV3 Developer Forum

How we built the DEV3 Vendora: a multi-vendor marketplace on Laravel 12 and Filament 4

dev3 ·

We want to share how DEV3 Vendora is put together. It is a self-hosted marketplace where independent shops sell through one storefront and one cart, on Laravel 12, Filament 4 and Livewire 3.

Stack: three Filament panels on one user table (/admin, /vendor, /account), a Blade storefront with a small vanilla-JS layer, and a shared DEV3 core package for the installer, settings, roles, audit log, gateways and two-factor sign-in.

Decisions that mattered

  • One PricingEngine prices the cart drawer, the cart page and checkout in a fixed order: split lines by vendor, apply the coupon, price shipping per package, tax each line after its discount, then compute commission. The result is frozen onto the order so totals cannot drift between screens.
  • Money is integer minor units. A coupon is spread over eligible lines by largest remainder so line discounts always add up to the coupon.
  • Commission comes from the most specific rule: a vendor rule or rate first, then the category tree upwards.

Limits, honestly: there is no public live demo (screenshots and video tours instead), and the demo market is fictional.

Trade-off we chose: the demo seeder pushes every order through the same engine as real checkout, so demo data and live behaviour cannot diverge.

If you have built split-cart checkout before, we would like to hear how you handled coupon allocation and refunds. Questions are welcome below.

#laravel#filament#marketplace#case-study

0

0 replies

No replies yet. Know the answer? Write the first one below.

Your reply

Every post is reviewed by DEV3 before it appears. Usually reviewed within 24 hours.

Markdown supported. Use ``` for code blocks. Images are not allowed.