How danielcute/2a_winx works
SINTA is a PHP/MySQL event-planning and wardrobe-rental application. Customers enter through the public router, authenticate, plan an event with occasion, package, theme and wardrobe choices, then submit a booking and make payments; admins manage inventory and bookings. The graph includes messaging, feedback, notifications, and receipt/payment capabilities documented or indexed in the repository. Several routes and integrations are unsampled, so those relationships are omitted unless the README or shown references support them.
Main entry points: index.php Public router · CheckoutController.php Booking checkout · PaymentService.php Payment processing · Wardrobe.php Wardrobe inventory
Components 23
Application entry
- Public router
public/index.php - Account and 2FA
app/controllers/AuthController.php - User profiles
app/models/User.php
Event planning
- Occasion selection
app/controllers/OccasionController.php - Packages
app/models/Package.php - Event customization
app/controllers/CustomizeController.php - Themes and palettes
app/models/Customization.php - Wardrobe catalog
app/controllers/WardrobeController.php - Wardrobe inventory
app/models/Wardrobe.php - Wardrobe selection
app/controllers/WardrobeSelectionController.php
Booking and payment
- Booking checkout
app/controllers/CheckoutController.php - Event plans
app/models/Plan.php - Booking records
app/models/Booking.php - Payment processing
services/PaymentService.php - Payment gateways
services/PaymentGateways.php - Payment records
app/models/Payment.php - Payment receipts
app/models/Receipt.php
Administration and communication
- Inventory administration
app/controllers/AdminWardrobeController.php - User messaging
app/models/Message.php - Notifications
app/models/Notification.php - Customer feedback
app/models/Feedback.php
Other components
- Customer
- Administrator
Connections 25
- Customer → Public router: uses
README.md - Administrator → Public router: uses
README.md - Public router → Account and 2FA: routes to
- Account and 2FA → User profiles: authenticates
app/controllers/AuthController.php - Public router → Occasion selection: routes to
- Public router → Event customization: routes to
public/index.php - Event customization → Themes and palettes: calls
app/controllers/CustomizeController.php - Public router → Wardrobe catalog: routes to
public/index.php - Wardrobe catalog → Wardrobe inventory: uses
app/controllers/WardrobeController.php - Public router → Wardrobe selection: routes to
public/index.php - Wardrobe selection → Wardrobe inventory: uses
app/controllers/WardrobeSelectionController.php - Public router → Booking checkout: routes to
public/index.php - Booking checkout → Event plans: creates
app/controllers/CheckoutController.php - Booking checkout → Themes and palettes: stores colors
app/controllers/CheckoutController.php - Booking checkout → Notifications: notifies admin
app/controllers/CheckoutController.php - Customer → Packages: browses
README.md - Administrator → Inventory administration: manages inventory
README.md - Inventory administration → Wardrobe inventory: updates
app/controllers/AdminWardrobeController.php - Payment processing → Payment records: records payment
services/PaymentService.php - Payment processing → Payment gateways: selects gateway
services/PaymentService.php - Payment processing → Payment receipts: creates receipts
services/PaymentService.php - Customer → User messaging: communicates
README.md - Customer → Customer feedback: submits feedback
- Public router → User messaging: routes messages
- Public router → Customer feedback: handles feedback
public/index.php