Skip to content

Repository files navigation

Storak Marketplace — Vendor Portal

Laravel 8 Blade self-service portal for Storak marketplace vendors. Vendors manage their store profile, product catalog, orders, and coupons. Features Google OAuth login, Twilio SMS OTP verification, CSV bulk import, CKEditor product descriptions, and real-time Pusher notifications.

Laravel PHP Twilio Socialite


Tech Stack

Package Version Purpose
laravel/framework ^8.40 Core framework
laravel/socialite ^5.2 Google OAuth login
twilio/sdk ^6.25 SMS OTP — phone verification + password reset
intervention/image ^2.6 Image upload + resize
maatwebsite/excel ^3.1 Bulk product CSV import
barryvdh/laravel-dompdf ^0.9.0 PDF invoice generation
h4cc/wkhtmltopdf-amd64 0.12.x HTML-to-PDF rendering
ckeditor/ckeditor ^4.16 Rich text product descriptions
laraveldaily/laravel-invoices ^2.0 Invoice PDF
mashape/unirest-php ^3.0 API proxy HTTP calls

Database Schema (Canonical — 23 Migrations)

Contains the full Storak marketplace schema:

Table Key Columns
stores user_id, store_name, tag_line, logo, cover, holiday_mode, holiday_start/end_date
bank_accounts user_id, account_title, account_no, bank_name, branch_code, iban, bank_letter_doc
products store_id, brand_id, category_id, subcategory_id, childcategory_id, name, description, total_stock, remaining_stock, primary_image, video_url (softDeletes)
products_variants product_id, attribute_id, variant_id, retail_price, sale_price, sku, stock
products_images product_id, image_path (multiple images)
products_questions / products_reviews Q&A and reviews per product
categories / sub_categories / child_categories 3-level hierarchy
brands, attributes, variants Product taxonomy
wishlists user_id, product_id
banners, mobile_cover Marketing assets
cities Delivery city list
custom_s_m_s SMS activity log

Key Features

  • Multi-step onboarding — 6-step profile setup: basic info → business → store → documents → bank → warehouse
  • Google OAuth — Socialite provider for one-click social login
  • Twilio SMS OTP — Phone number verification on registration; OTP-based password reset
  • Holiday mode — Store closure date configuration (prevents orders during holidays)
  • Real-time notifications — Pusher broadcasts new orders and status changes to vendor browser
  • Product Q&A — Vendors reply to customer product questions
  • Coupon management — Discount codes with enable/disable toggle
  • RBAC — Vendor sub-user management with granular permissions
  • Bilingual content — Arabic + English product descriptions with translation editor

Route Structure

All under /vendor/*, isVendor middleware. Covers: Multi-step Auth (email + mobile OTP + OAuth), Dashboard, Products + Variants + Translation, Q&A, Reviews, Orders, Coupons, Store, Notifications, Commission view, Account Settings, Users/Roles RBAC, Chained Ajax selects.


Related Repositories

Repo Purpose
StorakApi-s Laravel 8 REST API backend
StorakAdminPanel Super-admin management panel

About

Storak vendor panel — Laravel 8 Blade, product/order management, Pusher notifications, DomPDF invoices

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages