Not a shop with vendors bolted on — a marketplace, built as one
Baraka Souqs separates the four jobs a marketplace actually has. The Laravel API owns the data and the rules. The storefront, the seller portal and the admin console are three independent Next.js applications talking to it. Each can be deployed, scaled and branded on its own, and none of them can reach around the API to touch the database.
Seller portal
- Guided onboarding with document upload and an admin review queue
- Product management with variants, attributes and specifications
- Inventory with stock levels and a full movement ledger — every change has a reason and a timestamp
- Orders, sub-orders and shipment events
- Returns and warranty claims handled by the seller, escalating to you when disputed
- Finance: running balance, ledger entries, payout accounts and payout requests
- Flash deals the seller opts into
- Advertising — campaigns, creatives and placements, sold as inventory on your own site
- Store settings, activity log and support tickets
Admin console
- Product moderation before anything reaches the catalogue
- Seller approval, document verification and appeals
- Disputes, returns, warranty claims and review moderation
- Payout batches — approve many sellers at once rather than one at a time
- Marketing: banners, coupons, flash deals, gift cards and gift-card designs
- Ad placements and seller-ad approval
- Staff accounts with roles and granular permissions (spatie/laravel-permission)
- Full activity log across admin actions (spatie/laravel-activitylog)
- Countries, currencies, shipping methods and CMS pages
Storefront
- Search with history, category and brand browsing, faceted filtering
- Cart across multiple sellers, checkout splitting into per-seller sub-orders
- Gift cards — purchase, redeem, and a transaction trail for each one
- Wishlist, follow-a-seller, and buyer–seller conversations
- Returns and warranty claims raised by the buyer and tracked to resolution
- Reviews with images and a report mechanism
- Google sign-in (Socialite) and email OTP login
- Multiple addresses, multi-currency and multi-country
Stack — what is actually in the composer and package files
- API: Laravel 12, PHP 8.2+, Sanctum tokens, Reverb for realtime
- Front ends: Next.js + React, TanStack Query, react-hook-form with Zod validation
- Realtime: laravel-echo + pusher-js against Reverb — live order and message updates
- i18n: next-intl, so Arabic and English are first-class in all three apps
- Media: intervention/image · Documents: dompdf for invoices
- Permissions and audit: spatie/laravel-permission, spatie/laravel-activitylog
- Seller UI: @dnd-kit for drag-and-drop ordering
What you get
All four projects in full source — API, storefront, seller portal, admin console — with the deployment scripts, database migrations and seeders.