How us2ahmad/project_healthy_life works
This appears to be a Laravel sports-coaching platform: players and coaches register, coaches publish training material, players seek plans and make payments, and managers oversee accounts and coach approvals. The graph follows the visible web-routing, registration, article, plan, payment, and management paths. Some capabilities are represented only by the file tree; their runtime connections are omitted where the sampled source does not establish them.
Main entry points: MangerController.php Manager oversight · web.php Web routes · RegController.php Registration · PlayerTrainingPlanController.php Player plan requests
Components 23
Web entry
- Web routes
routes/web.php - Route registration
app/Providers/RouteServiceProvider.php - Player pages
resources/views/player/index.blade.php - Coach pages
resources/views/coach/index.blade.php - Admin pages
resources/views/admin/index.blade.php
Accounts and roles
- Registration
app/Http/Controllers/RegController.php - User accounts
app/Models/User.php - Player profiles
app/Models/Player.php - Coach profiles
app/Models/Coach.php
Coaching content
- Articles
app/Http/Controllers/ArticleController.php - Article records
app/Models/Article.php - Training content
app/Http/Controllers/ContentController.php - Training plans
app/Http/Controllers/TrainingPlanController.php - Player plan requests
app/Http/Controllers/PlayerTrainingPlanController.php - Plan records
app/Models/Training_Plan.php - Content records
app/Models/Content.php
Platform operations
- Payments
app/Http/Controllers/PaymentController.php - Payment records
app/Models/Payment.php - Manager oversight
app/Http/Controllers/MangerController.php - Advice records
app/Models/Advice.php - Welcome email
app/Mail/WelcomeMail.php - Application database
config/database.php
Other components
- Website visitor
Connections 27
- Website visitor → Web routes: requests pages
routes/web.php - Route registration → Web routes: loads routes
app/Providers/RouteServiceProvider.php - Web routes → Registration: routes to
routes/web.php - Web routes → Articles: routes to
routes/web.php - Web routes → Payments: routes to
routes/web.php - Web routes → Player plan requests: routes to
routes/web.php - Registration → User accounts: creates
app/Http/Controllers/RegController.php - Registration → Player profiles: creates player
app/Http/Controllers/RegController.php - Registration → Coach profiles: creates coach
app/Http/Controllers/RegController.php - Registration → Welcome email: sends welcome
app/Http/Controllers/RegController.php - Articles → Article records: queries
app/Http/Controllers/ArticleController.php - Articles → Player pages: renders articles
app/Http/Controllers/ArticleController.php - Training content → Content records: uses records
- Training plans → Plan records: uses records
- Player plan requests → Player profiles: updates profile
app/Http/Controllers/PlayerTrainingPlanController.php - Player plan requests → Content records: queries content
app/Http/Controllers/PlayerTrainingPlanController.php - Player plan requests → Plan records: finds matching plan
app/Http/Controllers/PlayerTrainingPlanController.php - Player plan requests → Coach profiles: notifies coach
app/Http/Controllers/PlayerTrainingPlanController.php - Payments → Payment records: uses records
app/Http/Controllers/PaymentController.php - Manager oversight → Player profiles: manages players
app/Http/Controllers/MangerController.php - Manager oversight → Coach profiles: reviews coaches
app/Http/Controllers/MangerController.php - Manager oversight → Payment records: queries payments
app/Http/Controllers/MangerController.php - Manager oversight → Advice records: manages advice
app/Http/Controllers/MangerController.php - Manager oversight → Article records: queries articles
app/Http/Controllers/MangerController.php - Manager oversight → Welcome email: sends decision
app/Http/Controllers/MangerController.php - Manager oversight → Admin pages: renders dashboard
app/Http/Controllers/MangerController.php - Application database → User accounts: stores records