How mhabuesa/sunnah works
This is a Laravel storefront and commerce back office. Customers browse and search products, manage a cart, place and track orders, and use accounts and reviews; administrators manage catalog, promotions, orders, delivery settings, and communications. The graph reflects the tree and sampled controller behavior; unsampled controllers and routes limit certainty about checkout internals and integration dispatch, so those links are omitted where unsupported.
Main entry points: Order.php Order records · ReviewController.php Product reviews · Product.php Product records · ProductController.php Product browsing
Components 22
Customer storefront
- Storefront pages
app/Http/Controllers/Frontend/HomeController.php - Product browsing
app/Http/Controllers/Frontend/ProductController.php - Customer accounts
app/Http/Controllers/Customer/AuthController.php - Product reviews
app/Http/Controllers/Frontend/ReviewController.php
Commerce operations
- Cart operations
app/Http/Controllers/Frontend/CartController.php - Cart service
app/Services/CartService.php - Order placement
app/Http/Controllers/Frontend/OrderController.php - Order tracking
app/Http/Controllers/Frontend/OrderTrackingController.php - Customer order history
app/Http/Controllers/Customer/DashboardController.php - Courier services
app/Services/PathaoService.php - SMS service
app/Services/SmsService.php
Back office
- Catalog management
app/Http/Controllers/ProductController.php - Order management
app/Http/Controllers/OrderController.php - Promotions
app/Http/Controllers/CampaignController.php - Delivery configuration
app/Http/Controllers/DeliveryController.php - SMS campaigns
app/Http/Controllers/SmsCampaignController.php
Domain data
- Product records
app/Models/Product.php - Cart records
app/Models/Cart.php - Order records
app/Models/Order.php - Review records
app/Models/Review.php
Other components
- Customer
- Administrator
Connections 25
- Customer → Storefront pages: visits
- Customer → Product browsing: browses
- Customer → Customer accounts: signs in
- Customer → Cart operations: manages cart
- Customer → Order placement: places order
- Customer → Order tracking: tracks order
- Customer → Customer order history: views orders
- Customer → Product reviews: submits review
- Product browsing → Product records: queries
- Cart operations → Cart service: uses
- Cart service → Cart records: reads/writes
- Order placement → Order records: creates order
- Order tracking → Order records: reads status
- Customer order history → Order records: loads history
- Product reviews → Product records: loads product
- Product reviews → Review records: reads/writes
- Administrator → Catalog management: manages catalog
- Administrator → Order management: manages orders
- Administrator → Promotions: manages promotions
- Administrator → Delivery configuration: configures delivery
- Administrator → SMS campaigns: manages campaigns
- Catalog management → Product records: maintains
- Order management → Order records: updates
- Delivery configuration → Courier services: configures
- SMS campaigns → SMS service: uses