# mudrikalsharief/meeco_laravel architecture

> Architecture diagram of the GitHub repository mudrikalsharief/meeco_laravel, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mudrikalsharief/meeco_laravel
- Repository: https://github.com/mudrikalsharief/meeco_laravel

## Overview

This appears to be a study and quiz web application: users organize material into subjects and topics, create reviewer content and quizzes, and manage subscriptions; administrators have transaction, support, and statistics functions. The graph emphasizes the study workflow and its AI and payment integrations. The README is the stock Laravel framework README, so product capabilities are inferred from the file tree; unsampled code limits certainty about some routes and subsystem interactions.

Main entry points: [`routes/web.php`](https://github.com/mudrikalsharief/meeco_laravel/blob/main/routes/web.php) (Web routes), [`app/Http/Controllers/OPENAIController.php`](https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/OPENAIController.php) (AI generation), [`app/Http/Controllers/SubscriptionController.php`](https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/SubscriptionController.php) (Subscription services), [`app/Http/Controllers/PayMongoController.php`](https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/PayMongoController.php) (Payment processing)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Web entry"]
  node_routes["Web routes<br/>[web.php]"]
end

subgraph group_study["Study tools"]
  node_capture["Material capture"]
  node_image["Image processing"]
  node_ai["AI generation"]
  node_aihelper["AI credentials<br/>[OpenAIHelper.php]"]
  node_quiz["Quiz management<br/>[QuizController.php]"]
  node_reviewer["Reviewer management"]
end

subgraph group_records["Application records"]
  node_studydata[("Study records")]
  node_users[("User records<br/>[User.php]")]
  node_subscriptions[("Subscription records<br/>[Subscription.php]")]
end

subgraph group_account["Accounts and operations"]
  node_auth["Authentication<br/>[AUTHcontroller.php]"]
  node_adminauth["Admin access"]
  node_subscription["Subscription services"]
  node_payment["Payment processing"]
  node_admin["Admin operations"]
  node_contact["Contact support"]
  node_statistics["Statistics and exports"]
end

node_learner(("Learner"))
node_paymongo["PayMongo"]
node_openai["OpenAI API"]

node_learner -->|"requests pages"| node_routes
node_routes -->|"routes to"| node_auth
node_routes -->|"routes to"| node_capture
node_routes -->|"routes to"| node_image
node_routes -->|"routes to"| node_ai
node_routes -->|"routes to"| node_quiz
node_routes -->|"routes to"| node_reviewer
node_routes -->|"routes to"| node_subscription
node_routes -->|"routes to"| node_payment
node_routes -->|"routes to"| node_adminauth
node_routes -->|"routes to"| node_admin
node_routes -->|"routes to"| node_contact
node_routes -->|"routes to"| node_statistics
node_ai -->|"gets API key"| node_aihelper
node_ai -->|"sends prompts"| node_openai
node_ai -->|"uses study models"| node_studydata
node_quiz -->|"reads and writes"| node_studydata
node_reviewer -->|"reads and writes"| node_studydata
node_subscription -->|"manages records"| node_subscriptions
node_subscription -->|"reads user data"| node_users
node_payment -->|"uses subscription model"| node_subscriptions
node_payment -.->|"processes payment"| node_paymongo

click node_routes "https://github.com/mudrikalsharief/meeco_laravel/blob/main/routes/web.php"
click node_auth "https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/AUTHcontroller.php"
click node_adminauth "https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/AUTHadminController.php"
click node_capture "https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/CaptureController.php"
click node_image "https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/IMAGEcontroller.php"
click node_ai "https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/OPENAIController.php"
click node_aihelper "https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Helpers/OpenAIHelper.php"
click node_quiz "https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/QuizController.php"
click node_reviewer "https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/ReviewerController.php"
click node_studydata "https://github.com/mudrikalsharief/meeco_laravel/tree/main/app/Models"
click node_users "https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Models/User.php"
click node_subscriptions "https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Models/Subscription.php"
click node_subscription "https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/SubscriptionController.php"
click node_payment "https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/PayMongoController.php"
click node_admin "https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/AdminActionController.php"
click node_contact "https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/ContactUsController.php"
click node_statistics "https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/StatisticsController.php"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_routes toneBlue
class node_capture,node_image,node_ai,node_aihelper,node_quiz,node_reviewer toneAmber
class node_studydata,node_users,node_subscriptions,node_openai toneMint
class node_auth,node_adminauth,node_subscription,node_payment,node_admin,node_contact,node_statistics toneRose
class node_learner,node_paymongo toneIndigo
```

## Components

### Web entry

- [Web routes](https://github.com/mudrikalsharief/meeco_laravel/blob/main/routes/web.php): `routes/web.php`

### Study tools

- [Material capture](https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/CaptureController.php): `app/Http/Controllers/CaptureController.php`
- [Image processing](https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/IMAGEcontroller.php): `app/Http/Controllers/IMAGEcontroller.php`
- [AI generation](https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/OPENAIController.php): `app/Http/Controllers/OPENAIController.php`
- [AI credentials](https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Helpers/OpenAIHelper.php): `app/Helpers/OpenAIHelper.php`
- [Quiz management](https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/QuizController.php): `app/Http/Controllers/QuizController.php`
- [Reviewer management](https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/ReviewerController.php): `app/Http/Controllers/ReviewerController.php`

### Application records

- [Study records](https://github.com/mudrikalsharief/meeco_laravel/tree/main/app/Models): `app/Models`
- [User records](https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Models/User.php): `app/Models/User.php`
- [Subscription records](https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Models/Subscription.php): `app/Models/Subscription.php`

### Accounts and operations

- [Authentication](https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/AUTHcontroller.php): `app/Http/Controllers/AUTHcontroller.php`
- [Admin access](https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/AUTHadminController.php): `app/Http/Controllers/AUTHadminController.php`
- [Subscription services](https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/SubscriptionController.php): `app/Http/Controllers/SubscriptionController.php`
- [Payment processing](https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/PayMongoController.php): `app/Http/Controllers/PayMongoController.php`
- [Admin operations](https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/AdminActionController.php): `app/Http/Controllers/AdminActionController.php`
- [Contact support](https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/ContactUsController.php): `app/Http/Controllers/ContactUsController.php`
- [Statistics and exports](https://github.com/mudrikalsharief/meeco_laravel/blob/main/app/Http/Controllers/StatisticsController.php): `app/Http/Controllers/StatisticsController.php`

### Other components

- **Learner**
- **PayMongo**
- **OpenAI API**

## Connections

- Learner → Web routes: requests pages (evidence: `routes/web.php`)
- Web routes → Authentication: routes to (evidence: `routes/web.php`)
- Web routes → Material capture: routes to (evidence: `routes/web.php`)
- Web routes → Image processing: routes to (evidence: `routes/web.php`)
- Web routes → AI generation: routes to (evidence: `routes/web.php`)
- Web routes → Quiz management: routes to (evidence: `routes/web.php`)
- Web routes → Reviewer management: routes to (evidence: `routes/web.php`)
- Web routes → Subscription services: routes to (evidence: `routes/web.php`)
- Web routes → Payment processing: routes to (evidence: `routes/web.php`)
- Web routes → Admin access: routes to (evidence: `routes/web.php`)
- Web routes → Admin operations: routes to (evidence: `routes/web.php`)
- Web routes → Contact support: routes to (evidence: `routes/web.php`)
- Web routes → Statistics and exports: routes to (evidence: `routes/web.php`)
- AI generation → AI credentials: gets API key (evidence: `app/Http/Controllers/OPENAIController.php`)
- AI generation → OpenAI API: sends prompts (evidence: `app/Http/Controllers/OPENAIController.php`)
- AI generation → Study records: uses study models (evidence: `app/Http/Controllers/OPENAIController.php`)
- Quiz management → Study records: reads and writes (evidence: `app/Http/Controllers/QuizController.php`)
- Reviewer management → Study records: reads and writes (evidence: `app/Http/Controllers/ReviewerController.php`)
- Subscription services → Subscription records: manages records (evidence: `app/Http/Controllers/SubscriptionController.php`)
- Subscription services → User records: reads user data (evidence: `app/Http/Controllers/SubscriptionController.php`)
- Payment processing → Subscription records: uses subscription model (evidence: `app/Http/Controllers/PayMongoController.php`)
- Payment processing → PayMongo: processes payment
