How lewolfdx-art/29-09-2026-proyecto-tienda-filamentv5 works
Tienda is a Laravel storefront and Filament administration panel for manual Yape/Plin payments. The customer journey runs from catalog browsing and a session cart through checkout, payment-proof submission, and order tracking; orders also reserve stock until payment or expiry. The graph includes admin operations, customer-data protection, notifications, audit, and backup capabilities. Sampled source supports the storefront and model interactions; the admin panel and several operational flows are represented from the supplied product description, with unverified links left dashed.
Main entry points: web.php Web routes · CheckoutController.php Checkout · Order.php Order lifecycle · Product.php Products and stock
Components 26
Customer storefront
- Web routes
routes/web.php - Customer accounts
app/Http/Controllers/Store/AuthController.php - Catalog browsing
app/Http/Controllers/Store/CatalogController.php - Catalog views
resources/views/store/index.blade.php - Cart actions
app/Http/Controllers/Store/CartController.php - Session cart
app/Support/Cart.php
Orders and inventory
- Checkout
app/Http/Controllers/Store/CheckoutController.php - Payment proof
app/Http/Controllers/Store/PaymentProofController.php - Order tracking
app/Http/Controllers/Store/OrderController.php - Order lifecycle
app/Models/Order.php - Order items
app/Models/OrderItem.php
Administration
- Admin panel
app/Providers/Filament/AdminPanelProvider.php - Management resources
app/Filament/Resources - Dashboard metrics
app/Filament/Widgets - Activity audit
app/Models/Concerns/Auditable.php
Notifications and backups
- Store notifications
app/Support/StoreNotifier.php - Internal notices
app/Support/InternalNotifier.php - Email recipients
app/Models/EmailRecipient.php - Backup email job
app/Jobs/SendBackupEmailJob.php - Encrypted database ZIP
app/Support/DatabaseBackupZip.php - Backup download
app/Http/Controllers/Admin/BackupEmailDownloadController.php
Domain services
- Products and stock
app/Models/Product.php - Customer records
app/Models/Customer.php - Categories
app/Models/Category.php
Other components
- Customer
- Store team
Connections 32
- Customer → Web routes: requests pages
routes/web.php - Web routes → Customer accounts: routes to
routes/web.php - Web routes → Catalog browsing: routes to
routes/web.php - Web routes → Cart actions: routes to
routes/web.php - Web routes → Checkout: routes to
routes/web.php - Web routes → Payment proof: routes to
routes/web.php - Web routes → Order tracking: routes to
routes/web.php - Catalog browsing → Products and stock: queries
app/Http/Controllers/Store/CatalogController.php - Catalog browsing → Categories: queries
app/Http/Controllers/Store/CatalogController.php - Catalog browsing → Catalog views: renders
app/Http/Controllers/Store/CatalogController.php - Cart actions → Session cart: uses
app/Http/Controllers/Store/CartController.php - Cart actions → Products and stock: queries
app/Http/Controllers/Store/CartController.php - Checkout → Session cart: reads and clears
app/Http/Controllers/Store/CheckoutController.php - Checkout → Products and stock: checks availability
app/Http/Controllers/Store/CheckoutController.php - Checkout → Customer records: updates
app/Http/Controllers/Store/CheckoutController.php - Checkout → Order lifecycle: creates order
app/Http/Controllers/Store/CheckoutController.php - Checkout → Order items: creates items
app/Http/Controllers/Store/CheckoutController.php - Payment proof → Order lifecycle: updates payment
app/Http/Controllers/Store/PaymentProofController.php - Order tracking → Order lifecycle: queries orders
app/Http/Controllers/Store/OrderController.php - Order lifecycle → Store notifications: notifies lifecycle
app/Models/Order.php - Order items → Order lifecycle: recalculates total
app/Models/OrderItem.php - Order items → Products and stock: reads product
app/Models/OrderItem.php - Products and stock → Store notifications: signals low stock
app/Models/Product.php - Store notifications → Internal notices: sends notices
app/Support/StoreNotifier.php - Internal notices → Email recipients: selects recipients
app/Support/InternalNotifier.php - Store team → Admin panel: manages store
- Admin panel → Management resources: provides management
- Admin panel → Dashboard metrics: shows metrics
- Management resources → Activity audit: records changes
- Backup email job → Encrypted database ZIP: builds archive
- Backup email job → Email recipients: emails recipients
app/Jobs/SendBackupEmailJob.php - Web routes → Backup download: routes to
routes/web.php