How beastfrompretoriaeast/osc works
This Laravel application provides account access and profile management, plus CRUD for sites and site services; service creation also provisions a Stripe product and price. The principal workflow is an authenticated user creating a site service, which the controller validates, creates in Stripe, and saves locally. Authentication and verification are distinct supporting flows. The source excerpts establish controller/model calls and route dispatch, but several referenced views and route targets are absent from the tree, so those links are omitted.
Main entry points: auth.php Auth routes · web.php Web routes · ServiceController.php Service management · RegisteredUserController.php Registration
Components 20
HTTP routing
- Web routes
routes/web.php - Auth routes
routes/auth.php
Accounts
- Registration
app/Http/Controllers/Auth/RegisteredUserController.php - Sessions
app/Http/Controllers/Auth/AuthenticatedSessionController.php - Login validation
app/Http/Requests/Auth/LoginRequest.php - Verification prompt
app/Http/Controllers/Auth/EmailVerificationPromptController.php - Verification notices
app/Http/Controllers/Auth/EmailVerificationNotificationController.php - Email verification
app/Http/Controllers/Auth/VerifyEmailController.php - Profile management
app/Http/Controllers/ProfileController.php - Profile validation
app/Http/Requests/ProfileUpdateRequest.php - User account
app/Models/User.php
Site services
- Site management
app/Http/Controllers/SiteController.php - Site record
app/Models/Site.php - Service management
app/Http/Controllers/ServiceController.php - Service record
app/Models/Service.php
User interface
- Profile form
resources/views/profile/edit.blade.php - Registration form
resources/views/auth/register.blade.php - Admin dashboard
resources/views/backend/dashboard/dashboard.blade.php
Other components
- User
- Stripe
Connections 21
- User → Web routes: sends requests
routes/web.php - User → Auth routes: authenticates
routes/auth.php - Web routes → Profile management: dispatches
routes/web.php - Web routes → Site management: dispatches
routes/web.php - Web routes → Service management: dispatches
routes/web.php - Auth routes → Registration: dispatches
routes/auth.php - Auth routes → Sessions: dispatches
routes/auth.php - Auth routes → Verification prompt: dispatches
routes/auth.php - Auth routes → Verification notices: dispatches
routes/auth.php - Auth routes → Email verification: dispatches
routes/auth.php - Registration → User account: creates account
app/Http/Controllers/Auth/RegisteredUserController.php - Registration → Registration form: renders
app/Http/Controllers/Auth/RegisteredUserController.php - Sessions → Login validation: authenticates with
app/Http/Controllers/Auth/AuthenticatedSessionController.php - Sessions → User: manages session
app/Http/Controllers/Auth/AuthenticatedSessionController.php - Profile management → Profile validation: validates with
app/Http/Controllers/ProfileController.php - Profile management → Profile form: renders
app/Http/Controllers/ProfileController.php - Site management → Site record: reads and writes
app/Http/Controllers/SiteController.php - Service management → Site record: uses site
app/Http/Controllers/ServiceController.php - Service management → Service record: creates and updates
app/Http/Controllers/ServiceController.php - Service management → Stripe: creates product and price
app/Http/Controllers/ServiceController.php - Service record → Site record: belongs to
app/Models/Service.php