lthn.io/routes/api.php
Claude 77cc45dd83
feat: lthn.io CorePHP app — TLD website + blockchain services
Modules:
- Chain: daemon RPC client (DaemonRpc singleton, cached queries)
- Explorer: block browser, tx viewer, alias directory, search, stats API
- Names: .lthn TLD registrar portal (availability check, lookup, directory)
- Trade: scaffold (DEX frontend + API)
- Pool: scaffold (mining pool dashboard)

Replaces 5 Node.js containers (5.9GB) with one FrankenPHP app.
Built on CorePHP framework pattern from host.uk.com.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-03 16:13:55 +01:00

25 lines
1 KiB
PHP

<?php
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| API routes are now managed by their respective modules. Each module
| registers its own routes via the ApiRoutesRegistering event.
|
| Module API routes are located at:
| - app/Mod/Api/Routes/api.php - SEO, Pixel, Entitlements, MCP
| - app/Mod/Analytics/Routes/api.php - Analytics tracking and stats
| - app/Mod/Bio/Routes/api.php - BioLinks and QR codes
| - app/Mod/Commerce/Routes/api.php - Webhooks, billing, provisioning
| - app/Mod/Content/Routes/api.php - Content generation
| - app/Mod/Notify/Routes/api.php - Push notifications
| - app/Mod/Social/Routes/api.php - Social media management
| - app/Mod/Support/Routes/api.php - Helpdesk and chat widget
| - app/Mod/Trees/Routes/api.php - Trees for Agents stats
| - app/Mod/Trust/Routes/api.php - Social proof widgets
|
| All routes are prefixed with /api by Laravel's route service provider.
|
*/