# ishaqkhan07/vision architecture

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

- Interactive diagram: https://gitdiagram.com/ishaqkhan07/vision
- Repository: https://github.com/ishaqkhan07/vision

## Overview

This is a Laravel starter web application rather than the Laravel framework itself. Its visible user workflow is HTTP request handling, route dispatch, authentication/registration or the authenticated home page, and Blade responses. Registration creates a User; email verification is scaffolded through a controller and event mapping. The source index and excerpts support the bootstrap, routing, middleware, and registration links shown here; controller-to-view wiring and several route registrations are not visible, so those links are omitted.

Main entry points: [`public/index.php`](https://github.com/ishaqkhan07/vision/blob/main/public/index.php) (HTTP entry), [`bootstrap/app.php`](https://github.com/ishaqkhan07/vision/blob/main/bootstrap/app.php) (Application bootstrap), [`app/Http/Kernel.php`](https://github.com/ishaqkhan07/vision/blob/main/app/Http/Kernel.php) (HTTP kernel), [`app/Providers/RouteServiceProvider.php`](https://github.com/ishaqkhan07/vision/blob/main/app/Providers/RouteServiceProvider.php) (Route service)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Request runtime"]
  node_entry["HTTP entry<br/>[index.php]"]
  node_bootstrap["Application bootstrap<br/>[app.php]"]
  node_httpkernel["HTTP kernel<br/>[Kernel.php]"]
  node_middleware["HTTP middleware"]
  node_routeservice["Route service"]
  node_webroutes["Web routes<br/>[web.php]"]
  node_apiroutes["API routes<br/>[api.php]"]
  node_basecontroller["Base controller<br/>[Controller.php]"]
  node_handler["Exception handler<br/>[Handler.php]"]
end

subgraph group_accounts["Accounts"]
  node_login["Login"]
  node_register["Registration"]
  node_verification["Email verification"]
  node_events["Registration event"]
  node_user["User account<br/>[User.php]"]
  node_home["Home controller<br/>[HomeController.php]"]
end

subgraph group_presentation["Presentation"]
  node_authviews["Auth views"]
  node_homeview["Home view<br/>[home.blade.php]"]
  node_layout["App layout<br/>[app.blade.php]"]
  node_jsapp["JavaScript entry<br/>[app.js]"]
  node_jsbootstrap["JavaScript bootstrap<br/>[bootstrap.js]"]
end

node_visitor(("Web visitor"))

node_visitor -->|"sends request"| node_entry
node_entry -->|"starts app"| node_bootstrap
node_entry -->|"dispatches to"| node_httpkernel
node_bootstrap -->|"binds kernel"| node_httpkernel
node_bootstrap -->|"binds handler"| node_handler
node_httpkernel -->|"runs"| node_middleware
node_routeservice -->|"registers"| node_webroutes
node_routeservice -->|"registers"| node_apiroutes
node_register -->|"creates"| node_user
node_jsapp -->|"loads"| node_jsbootstrap

click node_entry "https://github.com/ishaqkhan07/vision/blob/main/public/index.php"
click node_bootstrap "https://github.com/ishaqkhan07/vision/blob/main/bootstrap/app.php"
click node_httpkernel "https://github.com/ishaqkhan07/vision/blob/main/app/Http/Kernel.php"
click node_middleware "https://github.com/ishaqkhan07/vision/tree/main/app/Http/Middleware"
click node_routeservice "https://github.com/ishaqkhan07/vision/blob/main/app/Providers/RouteServiceProvider.php"
click node_webroutes "https://github.com/ishaqkhan07/vision/blob/main/routes/web.php"
click node_apiroutes "https://github.com/ishaqkhan07/vision/blob/main/routes/api.php"
click node_basecontroller "https://github.com/ishaqkhan07/vision/blob/main/app/Http/Controllers/Controller.php"
click node_handler "https://github.com/ishaqkhan07/vision/blob/main/app/Exceptions/Handler.php"
click node_login "https://github.com/ishaqkhan07/vision/blob/main/app/Http/Controllers/Auth/LoginController.php"
click node_register "https://github.com/ishaqkhan07/vision/blob/main/app/Http/Controllers/Auth/RegisterController.php"
click node_verification "https://github.com/ishaqkhan07/vision/blob/main/app/Http/Controllers/Auth/VerificationController.php"
click node_events "https://github.com/ishaqkhan07/vision/blob/main/app/Providers/EventServiceProvider.php"
click node_user "https://github.com/ishaqkhan07/vision/blob/main/app/Models/User.php"
click node_home "https://github.com/ishaqkhan07/vision/blob/main/app/Http/Controllers/HomeController.php"
click node_authviews "https://github.com/ishaqkhan07/vision/tree/main/resources/views/auth"
click node_homeview "https://github.com/ishaqkhan07/vision/blob/main/resources/views/home.blade.php"
click node_layout "https://github.com/ishaqkhan07/vision/blob/main/resources/views/layouts/app.blade.php"
click node_jsapp "https://github.com/ishaqkhan07/vision/blob/main/resources/js/app.js"
click node_jsbootstrap "https://github.com/ishaqkhan07/vision/blob/main/resources/js/bootstrap.js"

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_entry,node_bootstrap,node_httpkernel,node_middleware,node_routeservice,node_webroutes,node_apiroutes,node_basecontroller,node_handler toneBlue
class node_login,node_register,node_verification,node_events,node_user,node_home toneAmber
class node_authviews,node_homeview,node_layout,node_jsapp,node_jsbootstrap toneMint
class node_visitor toneIndigo
```

## Components

### Request runtime

- [HTTP entry](https://github.com/ishaqkhan07/vision/blob/main/public/index.php): `public/index.php`
- [Application bootstrap](https://github.com/ishaqkhan07/vision/blob/main/bootstrap/app.php): `bootstrap/app.php`
- [HTTP kernel](https://github.com/ishaqkhan07/vision/blob/main/app/Http/Kernel.php): `app/Http/Kernel.php`
- [HTTP middleware](https://github.com/ishaqkhan07/vision/tree/main/app/Http/Middleware): `app/Http/Middleware`
- [Route service](https://github.com/ishaqkhan07/vision/blob/main/app/Providers/RouteServiceProvider.php): `app/Providers/RouteServiceProvider.php`
- [Web routes](https://github.com/ishaqkhan07/vision/blob/main/routes/web.php): `routes/web.php`
- [API routes](https://github.com/ishaqkhan07/vision/blob/main/routes/api.php): `routes/api.php`
- [Base controller](https://github.com/ishaqkhan07/vision/blob/main/app/Http/Controllers/Controller.php): `app/Http/Controllers/Controller.php`
- [Exception handler](https://github.com/ishaqkhan07/vision/blob/main/app/Exceptions/Handler.php): `app/Exceptions/Handler.php`

### Accounts

- [Login](https://github.com/ishaqkhan07/vision/blob/main/app/Http/Controllers/Auth/LoginController.php): `app/Http/Controllers/Auth/LoginController.php`
- [Registration](https://github.com/ishaqkhan07/vision/blob/main/app/Http/Controllers/Auth/RegisterController.php): `app/Http/Controllers/Auth/RegisterController.php`
- [Email verification](https://github.com/ishaqkhan07/vision/blob/main/app/Http/Controllers/Auth/VerificationController.php): `app/Http/Controllers/Auth/VerificationController.php`
- [Registration event](https://github.com/ishaqkhan07/vision/blob/main/app/Providers/EventServiceProvider.php): `app/Providers/EventServiceProvider.php`
- [User account](https://github.com/ishaqkhan07/vision/blob/main/app/Models/User.php): `app/Models/User.php`
- [Home controller](https://github.com/ishaqkhan07/vision/blob/main/app/Http/Controllers/HomeController.php): `app/Http/Controllers/HomeController.php`

### Presentation

- [Auth views](https://github.com/ishaqkhan07/vision/tree/main/resources/views/auth): `resources/views/auth`
- [Home view](https://github.com/ishaqkhan07/vision/blob/main/resources/views/home.blade.php): `resources/views/home.blade.php`
- [App layout](https://github.com/ishaqkhan07/vision/blob/main/resources/views/layouts/app.blade.php): `resources/views/layouts/app.blade.php`
- [JavaScript entry](https://github.com/ishaqkhan07/vision/blob/main/resources/js/app.js): `resources/js/app.js`
- [JavaScript bootstrap](https://github.com/ishaqkhan07/vision/blob/main/resources/js/bootstrap.js): `resources/js/bootstrap.js`

### Other components

- **Web visitor**

## Connections

- Web visitor → HTTP entry: sends request
- HTTP entry → Application bootstrap: starts app (evidence: `public/index.php`)
- HTTP entry → HTTP kernel: dispatches to (evidence: `public/index.php`)
- Application bootstrap → HTTP kernel: binds kernel (evidence: `bootstrap/app.php`)
- Application bootstrap → Exception handler: binds handler (evidence: `bootstrap/app.php`)
- HTTP kernel → HTTP middleware: runs (evidence: `app/Http/Kernel.php`)
- Route service → Web routes: registers (evidence: `app/Providers/RouteServiceProvider.php`)
- Route service → API routes: registers (evidence: `app/Providers/RouteServiceProvider.php`)
- Registration → User account: creates (evidence: `app/Http/Controllers/Auth/RegisterController.php`)
- JavaScript entry → JavaScript bootstrap: loads (evidence: `resources/js/app.js`)
