# bimaryan/ryaze.my.id architecture

> Architecture diagram of the GitHub repository bimaryan/ryaze.my.id, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/bimaryan/ryaze.my.id
- Repository: https://github.com/bimaryan/ryaze.my.id

## Overview

Ryaze.my.id combines a public portfolio and content site with account services, paid digital products, and a substantial shared-hosting control panel. A visitor browses the portfolio or submits contact details; hosting customers manage projects and pay for plans, after which payment handling can restore subscriptions and deployments. Admins also manage portfolio content and hosting operations. The README describes the public-site capabilities; sampled code verifies selected portfolio, payment, storage, and deployment relationships. Unsampled routes and other service branches are represented without speculative links.

Main entry points: [`app/Services/PaymentFulfillmentService.php`](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Services/PaymentFulfillmentService.php) (Payment fulfillment), [`app/Jobs/AutoDeployProject.php`](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Jobs/AutoDeployProject.php) (Project deployment), [`app/Http/Controllers/Api/PortfolioApiController.php`](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Http/Controllers/Api/PortfolioApiController.php) (Portfolio API), [`app/Http/Controllers/Hosting/User/StorageController.php`](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Http/Controllers/Hosting/User/StorageController.php) (Hosting controls)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_public["Public site"]
  node_portfolio["Portfolio pages"]
  node_portfolio_api["Portfolio API"]
  node_blog["Blog<br/>[BlogController.php]"]
end

subgraph group_accounts["Accounts and commerce"]
  node_auth["Authentication<br/>[AuthController.php]"]
  node_payment_callback["Payment callback"]
  node_fulfillment["Payment fulfillment"]
end

subgraph group_hosting["Hosting platform"]
  node_hosting_user["Hosting controls"]
  node_hosting_admin["Hosting administration"]
  node_storage["Project storage"]
end

subgraph group_runtime["Application services"]
  node_deploy["Project deployment"]
  node_node_service["Node app service<br/>[NodeAppService.php]"]
  node_node_server["Node server"]
end

subgraph group_data["Domain data"]
  node_articles[("Articles<br/>[Article.php]")]
  node_portfolio_data[("Portfolio content<br/>[Portfolio.php]")]
  node_contact[("Contact messages<br/>[ContactMessage.php]")]
  node_user_data[("User accounts<br/>[User.php]")]
  node_payment_data[("Hosting payments<br/>[HostingPayment.php]")]
  node_digital_products[("Digital products<br/>[DigitalProduct.php]")]
  node_wallet[("Wallet<br/>[Wallet.php]")]
  node_project_data[("Hosting projects<br/>[HostingProject.php]")]
  node_database_data[("Hosting databases")]
  node_settings[("Site settings<br/>[Setting.php]")]
end

node_visitor(("Visitor"))
node_external_pay{{"Payment provider"}}

node_visitor -->|"views"| node_portfolio
node_portfolio -->|"reads"| node_portfolio_data
node_portfolio -->|"records"| node_contact
node_visitor -->|"browses"| node_blog
node_blog -.->|"reads"| node_articles
node_visitor -->|"signs in"| node_auth
node_auth -->|"authenticates"| node_user_data
node_visitor -.->|"requests content"| node_portfolio_api
node_portfolio_api -->|"queries"| node_portfolio_data
node_portfolio_api -->|"manages"| node_contact
node_portfolio_api -->|"queries"| node_digital_products
node_visitor -.->|"pays through"| node_external_pay
node_external_pay -->|"notifies"| node_payment_callback
node_payment_callback -->|"updates"| node_payment_data
node_payment_callback -.->|"fulfills"| node_fulfillment
node_fulfillment -->|"reads and updates"| node_payment_data
node_fulfillment -->|"restores projects"| node_project_data
node_fulfillment -->|"credits"| node_wallet
node_fulfillment -->|"fulfills purchases"| node_digital_products
node_visitor -.->|"manages hosting"| node_hosting_user
node_hosting_user -->|"reads projects"| node_project_data
node_hosting_user -->|"creates payment"| node_payment_data
node_hosting_user -->|"renders usage"| node_storage
node_hosting_admin -->|"manages projects"| node_project_data
node_hosting_admin -->|"manages databases"| node_database_data
node_hosting_admin -->|"uses service"| node_node_service
node_deploy -->|"deploys project"| node_project_data
node_deploy -->|"uses service"| node_node_service
node_deploy -->|"uses server"| node_node_server
node_deploy -->|"reads settings"| node_settings

click node_portfolio "https://github.com/bimaryan/ryaze.my.id/blob/main/app/Http/Controllers/Home/PortfolioController.php"
click node_portfolio_api "https://github.com/bimaryan/ryaze.my.id/blob/main/app/Http/Controllers/Api/PortfolioApiController.php"
click node_blog "https://github.com/bimaryan/ryaze.my.id/blob/main/app/Http/Controllers/Blog/BlogController.php"
click node_articles "https://github.com/bimaryan/ryaze.my.id/blob/main/app/Models/Article.php"
click node_portfolio_data "https://github.com/bimaryan/ryaze.my.id/blob/main/app/Models/Portfolio.php"
click node_contact "https://github.com/bimaryan/ryaze.my.id/blob/main/app/Models/ContactMessage.php"
click node_auth "https://github.com/bimaryan/ryaze.my.id/blob/main/app/Http/Controllers/Auth/AuthController.php"
click node_user_data "https://github.com/bimaryan/ryaze.my.id/blob/main/app/Models/User.php"
click node_payment_callback "https://github.com/bimaryan/ryaze.my.id/blob/main/app/Http/Controllers/PaymentCallbackController.php"
click node_fulfillment "https://github.com/bimaryan/ryaze.my.id/blob/main/app/Services/PaymentFulfillmentService.php"
click node_payment_data "https://github.com/bimaryan/ryaze.my.id/blob/main/app/Models/HostingPayment.php"
click node_digital_products "https://github.com/bimaryan/ryaze.my.id/blob/main/app/Models/DigitalProduct.php"
click node_wallet "https://github.com/bimaryan/ryaze.my.id/blob/main/app/Models/Wallet.php"
click node_hosting_user "https://github.com/bimaryan/ryaze.my.id/blob/main/app/Http/Controllers/Hosting/User/StorageController.php"
click node_hosting_admin "https://github.com/bimaryan/ryaze.my.id/blob/main/app/Http/Controllers/Hosting/Admin/DashboardController.php"
click node_project_data "https://github.com/bimaryan/ryaze.my.id/blob/main/app/Models/HostingProject.php"
click node_database_data "https://github.com/bimaryan/ryaze.my.id/blob/main/app/Models/HostingDatabase.php"
click node_storage "https://github.com/bimaryan/ryaze.my.id/blob/main/app/Http/Controllers/Hosting/User/StorageController.php"
click node_deploy "https://github.com/bimaryan/ryaze.my.id/blob/main/app/Jobs/AutoDeployProject.php"
click node_node_service "https://github.com/bimaryan/ryaze.my.id/blob/main/app/Services/NodeAppService.php"
click node_node_server "https://github.com/bimaryan/ryaze.my.id/blob/main/app/Services/NodeServerService.php"
click node_settings "https://github.com/bimaryan/ryaze.my.id/blob/main/app/Models/Setting.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_portfolio,node_portfolio_api,node_blog toneBlue
class node_auth,node_payment_callback,node_fulfillment toneAmber
class node_hosting_user,node_hosting_admin,node_storage toneMint
class node_deploy,node_node_service,node_node_server toneRose
class node_articles,node_portfolio_data,node_contact,node_user_data,node_payment_data,node_digital_products,node_wallet,node_project_data,node_database_data,node_settings,node_visitor,node_external_pay toneIndigo
```

## Components

### Public site

- [Portfolio pages](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Http/Controllers/Home/PortfolioController.php): `app/Http/Controllers/Home/PortfolioController.php`
- [Portfolio API](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Http/Controllers/Api/PortfolioApiController.php): `app/Http/Controllers/Api/PortfolioApiController.php`
- [Blog](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Http/Controllers/Blog/BlogController.php): `app/Http/Controllers/Blog/BlogController.php`

### Accounts and commerce

- [Authentication](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Http/Controllers/Auth/AuthController.php): `app/Http/Controllers/Auth/AuthController.php`
- [Payment callback](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Http/Controllers/PaymentCallbackController.php): `app/Http/Controllers/PaymentCallbackController.php`
- [Payment fulfillment](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Services/PaymentFulfillmentService.php): `app/Services/PaymentFulfillmentService.php`

### Hosting platform

- [Hosting controls](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Http/Controllers/Hosting/User/StorageController.php): `app/Http/Controllers/Hosting/User/StorageController.php`
- [Hosting administration](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Http/Controllers/Hosting/Admin/DashboardController.php): `app/Http/Controllers/Hosting/Admin/DashboardController.php`
- [Project storage](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Http/Controllers/Hosting/User/StorageController.php): `app/Http/Controllers/Hosting/User/StorageController.php`

### Application services

- [Project deployment](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Jobs/AutoDeployProject.php): `app/Jobs/AutoDeployProject.php`
- [Node app service](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Services/NodeAppService.php): `app/Services/NodeAppService.php`
- [Node server](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Services/NodeServerService.php): `app/Services/NodeServerService.php`

### Domain data

- [Articles](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Models/Article.php): `app/Models/Article.php`
- [Portfolio content](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Models/Portfolio.php): `app/Models/Portfolio.php`
- [Contact messages](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Models/ContactMessage.php): `app/Models/ContactMessage.php`
- [User accounts](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Models/User.php): `app/Models/User.php`
- [Hosting payments](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Models/HostingPayment.php): `app/Models/HostingPayment.php`
- [Digital products](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Models/DigitalProduct.php): `app/Models/DigitalProduct.php`
- [Wallet](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Models/Wallet.php): `app/Models/Wallet.php`
- [Hosting projects](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Models/HostingProject.php): `app/Models/HostingProject.php`
- [Hosting databases](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Models/HostingDatabase.php): `app/Models/HostingDatabase.php`
- [Site settings](https://github.com/bimaryan/ryaze.my.id/blob/main/app/Models/Setting.php): `app/Models/Setting.php`

### Other components

- **Visitor**
- **Payment provider**

## Connections

- Visitor → Portfolio pages: views (evidence: `README.md`)
- Portfolio pages → Portfolio content: reads (evidence: `app/Http/Controllers/Home/PortfolioController.php`)
- Portfolio pages → Contact messages: records (evidence: `app/Http/Controllers/Home/PortfolioController.php`)
- Visitor → Blog: browses (evidence: `README.md`)
- Blog → Articles: reads
- Visitor → Authentication: signs in (evidence: `app/Http/Controllers/Auth/AuthController.php`)
- Authentication → User accounts: authenticates (evidence: `app/Http/Controllers/Auth/AuthController.php`)
- Visitor → Portfolio API: requests content
- Portfolio API → Portfolio content: queries (evidence: `app/Http/Controllers/Api/PortfolioApiController.php`)
- Portfolio API → Contact messages: manages (evidence: `app/Http/Controllers/Api/PortfolioApiController.php`)
- Portfolio API → Digital products: queries (evidence: `app/Http/Controllers/Api/PortfolioApiController.php`)
- Visitor → Payment provider: pays through
- Payment provider → Payment callback: notifies (evidence: `app/Http/Controllers/PaymentCallbackController.php`)
- Payment callback → Hosting payments: updates (evidence: `app/Http/Controllers/PaymentCallbackController.php`)
- Payment callback → Payment fulfillment: fulfills
- Payment fulfillment → Hosting payments: reads and updates (evidence: `app/Services/PaymentFulfillmentService.php`)
- Payment fulfillment → Hosting projects: restores projects (evidence: `app/Services/PaymentFulfillmentService.php`)
- Payment fulfillment → Wallet: credits (evidence: `app/Services/PaymentFulfillmentService.php`)
- Payment fulfillment → Digital products: fulfills purchases (evidence: `app/Services/PaymentFulfillmentService.php`)
- Visitor → Hosting controls: manages hosting
- Hosting controls → Hosting projects: reads projects (evidence: `app/Http/Controllers/Hosting/User/StorageController.php`)
- Hosting controls → Hosting payments: creates payment (evidence: `app/Http/Controllers/Hosting/User/StorageController.php`)
- Hosting controls → Project storage: renders usage (evidence: `app/Http/Controllers/Hosting/User/StorageController.php`)
- Hosting administration → Hosting projects: manages projects (evidence: `app/Http/Controllers/Hosting/Admin/DashboardController.php`)
- Hosting administration → Hosting databases: manages databases (evidence: `app/Http/Controllers/Hosting/Admin/DashboardController.php`)
- Hosting administration → Node app service: uses service (evidence: `app/Http/Controllers/Hosting/Admin/DashboardController.php`)
- Project deployment → Hosting projects: deploys project (evidence: `app/Jobs/AutoDeployProject.php`)
- Project deployment → Node app service: uses service (evidence: `app/Jobs/AutoDeployProject.php`)
- Project deployment → Node server: uses server (evidence: `app/Jobs/AutoDeployProject.php`)
- Project deployment → Site settings: reads settings (evidence: `app/Jobs/AutoDeployProject.php`)
