How rinsokhanaren/skincare-shop works
This is a Laravel storefront and inventory-management application. The principal customer workflow moves from product browsing and cart management through checkout, order creation, stock adjustment, and order notifications; customers can also manage accounts, wishlists, and reviews. Administrators manage products, orders, reviews, and operational records. The graph reflects only relationships visible in supplied excerpts or the source index; routes/web.php and several feature controllers were not inspected, so some entry points and capability links remain unverified.
Main entry points: CheckoutController.php Checkout · ReviewController.php Customer reviews · Product.php Product catalog · OrderController.php Order administration
Components 22
Accounts and access
- Authentication
app/Http/Controllers/Auth/RegisteredUserController.php
Storefront shopping
- Product storefront
app/Http/Controllers/StoreController.php - Cart
app/Http/Controllers/CartController.php - Customer reviews
app/Http/Controllers/ReviewController.php - Wishlist
app/Http/Controllers/WishlistController.php
Orders and inventory
- Checkout
app/Http/Controllers/CheckoutController.php - Stock logging
app/Models/InventoryLog.php - Order notifications
app/Mail/OrderPlaced.php - Invoice PDF
app/Services/InvoicePdfService.php
Administration
- Product administration
app/Http/Controllers/Admin/ProductController.php - Order administration
app/Http/Controllers/Admin/OrderController.php - Review administration
app/Http/Controllers/Admin/ReviewController.php - Audit logging
app/Services/AuditLogger.php
Domain data
- User account
app/Models/User.php - Product catalog
app/Models/Product.php - Product variants
app/Models/ProductVariant.php - Coupons
app/Models/Coupon.php - Order
app/Models/Order.php - Order items
app/Models/OrderItem.php - Application records
app/Models
Other components
- Customer
- Laravel runtime
bootstrap/app.php
Connections 24
- Customer → Authentication: registers
- Authentication → User account: creates account
app/Http/Controllers/Auth/RegisteredUserController.php - Customer → Product storefront: browses
- Customer → Cart: manages cart
- Customer → Checkout: checks out
- Checkout → Product catalog: checks stock
app/Http/Controllers/CheckoutController.php - Checkout → Product variants: checks stock
app/Http/Controllers/CheckoutController.php - Checkout → Coupons: validates discount
app/Http/Controllers/CheckoutController.php - Checkout → Order: creates order
app/Http/Controllers/CheckoutController.php - Checkout → Order items: creates items
app/Http/Controllers/CheckoutController.php - Checkout → Stock logging: logs stock changes
app/Http/Controllers/CheckoutController.php - Checkout → Order notifications: queues email
app/Http/Controllers/CheckoutController.php - Order notifications → Invoice PDF: uses invoice service
app/Mail/OrderPlaced.php - Product catalog → Stock logging: creates stock records
app/Models/Product.php - Customer → Customer reviews: submits review
- Customer reviews → Product catalog: checks product
app/Http/Controllers/ReviewController.php - Customer reviews → Application records: stores review
app/Http/Controllers/ReviewController.php - Customer → Wishlist: manages wishlist
- Product administration → Product catalog: manages products
app/Http/Controllers/Admin/ProductController.php - Order administration → Order: manages orders
app/Http/Controllers/Admin/OrderController.php - Order administration → Audit logging: records actions
app/Http/Controllers/Admin/OrderController.php - Review administration → Customer reviews: moderates reviews
app/Http/Controllers/Admin/ReviewController.php - Review administration → Audit logging: records actions
app/Http/Controllers/Admin/ReviewController.php - Laravel runtime → Application records: serves application