How hourtt/vin_copy_print_scan_v2 works
This Laravel application is a printer-supplies storefront with an admin panel. Customers browse and filter a product catalog, view product details, and can submit an inquiry that creates a Telegram message and attempts to save an inquiry record; registration and account security are separate supporting workflows. The tree also shows category, printer, and product APIs plus admin management of products, categories, inquiries, and users. Only selected source was sampled, so links involving unsampled storefront routing and admin wiring are omitted or marked unverified.
Main entry points: Product.php Products · Catalog Catalog services · ProductController.php Product API · InquiryController.php Inquiry workflow
Components 23
Catalog and products
- Catalog pages
resources/views/products-catalog/index.blade.php - Storefront products
app/Http/Controllers/ProductController.php - Catalog services
app/Services/Catalog - Product API
app/Http/Controllers/Api/ProductController.php - Category API
app/Http/Controllers/Api/CategoryController.php - Printer API
app/Http/Controllers/Api/PrinterController.php - Products
app/Models/Product.php - Categories
app/Models/Category.php - Brands
app/Models/Brand.php - Printer models
app/Models/PrinterModel.php
Customer workflows
- Inquiry workflow
app/Http/Controllers/InquiryController.php - Telegram
- Authentication routes
routes/auth.php - Registration
app/Http/Controllers/Auth/RegisteredUserController.php - Social login
app/Http/Controllers/Security/SocialiteController.php - User accounts
app/Models/User.php
Administration
- Admin resources
app/Filament/Resources - Inquiry management
app/Filament/Resources/Inquiries/InquiryResource.php - Store statistics
app/Filament/Widgets/StatsOverviewWidget.php
Platform and data
- Application database
- Model observers
app/Providers/AppServiceProvider.php - Product observer
app/Observers/ProductObserver.php
Other components
- Shopper
Connections 25
- Shopper → Catalog pages: browses
- Catalog pages → Storefront products: requests products
- Storefront products → Catalog services: uses catalog
- Catalog services → Products: queries
app/Services/Catalog/CatalogService.php - Catalog services → Categories: queries
app/Services/Catalog/CatalogService.php - Catalog services → Brands: queries
app/Services/Catalog/CatalogService.php - Product API → Products: queries
app/Http/Controllers/Api/ProductController.php - Product API → Categories: loads relation
app/Http/Controllers/Api/ProductController.php - Product API → Brands: loads relation
app/Http/Controllers/Api/ProductController.php - Printer API → Printer models: queries
app/Http/Controllers/Api/PrinterController.php - Products → Categories: belongs to
app/Models/Product.php - Products → Brands: belongs to
app/Models/Product.php - Products → Printer models: relates compatible models
app/Models/Product.php - Shopper → Inquiry workflow: submits inquiry
app/Http/Controllers/InquiryController.php - Inquiry workflow → Telegram: returns message link
app/Http/Controllers/InquiryController.php - Inquiry workflow → Application database: saves snapshot
app/Http/Controllers/InquiryController.php - Authentication routes → Registration: routes registration
routes/auth.php - Authentication routes → Social login: routes social login
routes/auth.php - Registration → User accounts: creates user
app/Http/Controllers/Auth/RegisteredUserController.php - Social login → User accounts: creates or finds
app/Http/Controllers/Security/SocialiteController.php - Social login → Application database: stores account links
app/Http/Controllers/Security/SocialiteController.php - Admin resources → Inquiry management: includes resource
- Model observers → Product observer: registers observer
app/Providers/AppServiceProvider.php - Product observer → Products: observes changes
app/Observers/ProductObserver.php - Store statistics → Application database: reads statistics