How yakupcinar/myweb2wave works
This repository implements a subscription-funnel product: an editor lets administrators create and publish validated funnel definitions, while visitors encounter funnels, progress through steps, and can begin Stripe checkout. The backend also handles attribution, media, app-server identity and entitlements, subscription synchronization, reporting, and RevenueCat export. The graph uses sampled calls and SOURCE INDEX references; some unsampled subsystems are represented by their exact source paths, with no speculative links to them.
Main entry points: KimlikController.php Identity Endpoints · PanelHuniController.php Funnel Admin · Huniler.php Funnel Storage · main.tsx Drag Editor
Components 34
Funnel Runtime
- Funnel Client
funnel/src/lib/cekirdek.ts - Visit Tracking
funnel/src/lib/ziyaret.ts - API Contract
funnel/src/sozlesme/api.ts - Funnel Endpoints
core/src/Controller/HuniController.php - Visit Endpoints
core/src/Controller/ZiyaretController.php - Funnel Definition
core/src/Huni/Tanim.php
Funnel Authoring
- Drag Editor
core/editor/src/main.tsx - Definition Converter
core/editor/src/donustur.ts - Editor Config
core/editor/src/yapilandirma.tsx - Editor Contract
core/editor/src/sozlesme.ts - Funnel Admin
core/src/Controller/PanelHuniController.php - Funnel Storage
core/src/Huni/Huniler.php - Theme Validation
core/src/Huni/Tema.php
Identity and Media
- Media Endpoints
core/src/Controller/MedyaController.php - Media Service
core/src/Medya/Medyalar.php - Identity Endpoints
core/src/Controller/KimlikController.php - Email Verification
core/src/Kimlik/DogrulamaKodu.php - App Authorization
core/src/Kimlik/UygulamaYetkisi.php - Entitlements
core/src/Kimlik/Hak.php
Billing and Attribution
- Checkout Endpoint
core/src/Controller/CheckoutController.php - Stripe
- Stripe Webhook
core/src/Controller/StripeWebhookController.php - Subscription Sync
core/src/Billing/SubscriptionSync.php - Attribution Records
core/src/Atif/Ziyaretler.php - RevenueCat Export
core/src/RevenueCat/Aktarim.php
Operations
- Panel Reports
core/src/Controller/PanelController.php - Report Service
core/src/Panel/Rapor.php - Admin Provider
core/src/Panel/YoneticiSaglayici.php - Export Command
core/src/Command/RevenueCatGonderCommand.php - Publish Command
core/src/Command/HuniYayinlaCommand.php
Other components
- Visitor
- Administrator
- App Server
- Database
Connections 37
- Visitor → Funnel Client: uses
- Funnel Client → API Contract: types against
funnel/src/lib/cekirdek.ts - Visit Tracking → Funnel Client: uses core
funnel/src/lib/ziyaret.ts - Visit Tracking → API Contract: uses types
funnel/src/lib/ziyaret.ts - Funnel Client → Funnel Endpoints: requests
- Visit Tracking → Visit Endpoints: records visits
- Funnel Endpoints → Funnel Storage: loads funnels
core/src/Controller/HuniController.php - Funnel Endpoints → Funnel Definition: validates definition
core/src/Controller/HuniController.php - Visit Endpoints → Attribution Records: records progress
core/src/Controller/ZiyaretController.php - Visit Endpoints → Funnel Definition: uses definition
core/src/Controller/ZiyaretController.php - Administrator → Funnel Admin: manages funnels
- Funnel Admin → Funnel Storage: edits and publishes
core/src/Controller/PanelHuniController.php - Funnel Admin → Theme Validation: uses theme
core/src/Controller/PanelHuniController.php - Drag Editor → Definition Converter: converts data
core/editor/src/main.tsx - Drag Editor → Editor Config: configures editor
core/editor/src/main.tsx - Drag Editor → Funnel Admin: saves draft
core/editor/src/main.tsx - Definition Converter → Editor Contract: uses types
core/editor/src/donustur.ts - Funnel Admin → Drag Editor: renders editor
core/src/Controller/PanelHuniController.php - Media Endpoints → Media Service: uploads and serves
core/src/Controller/MedyaController.php - Funnel Storage → Media Service: checks images
core/src/Huni/Huniler.php - App Server → Identity Endpoints: calls app APIs
- Identity Endpoints → App Authorization: checks access
core/src/Controller/KimlikController.php - Identity Endpoints → Email Verification: requests verification
core/src/Controller/KimlikController.php - Identity Endpoints → Entitlements: queries rights
core/src/Controller/KimlikController.php - Identity Endpoints → RevenueCat Export: triggers export
core/src/Controller/KimlikController.php - Visitor → Checkout Endpoint: starts checkout
- Checkout Endpoint → Stripe: creates session
core/src/Controller/CheckoutController.php - Checkout Endpoint → Attribution Records: links session
core/src/Controller/CheckoutController.php - Stripe → Stripe Webhook: sends events
- Stripe Webhook → Subscription Sync: syncs subscriptions
core/src/Controller/StripeWebhookController.php - Stripe Webhook → RevenueCat Export: triggers export
core/src/Controller/StripeWebhookController.php - Subscription Sync → RevenueCat Export: queues exports
core/src/Billing/SubscriptionSync.php - Panel Reports → Report Service: loads reports
core/src/Controller/PanelController.php - Export Command → RevenueCat Export: sends pending
core/src/Command/RevenueCatGonderCommand.php - Publish Command → Funnel Storage: publishes funnel
core/src/Command/HuniYayinlaCommand.php - Funnel Storage → Database: reads and writes
core/src/Huni/Huniler.php - Attribution Records → Database: stores attribution
core/src/Atif/Ziyaretler.php