Modules built: - Home: landing page with live chain stats and service directory - Chain: DaemonRpc singleton, config, events - Explorer: web + API controllers (block, tx, alias, search, stats) - Names: TLD registrar (availability, lookup, directory, registration) - Trade: DEX controllers + API (config, pairs, orders) - Pool: dashboard + PoolClient service (stats, blocks, payments, miner) Infrastructure: - composer.json: lthn/lthn.io deps (core/php + laravel 12) - Dockerfile: FrankenPHP with Caddy - Caddyfile: PHP server config Co-Authored-By: Charon <charon@lethean.io>
57 lines
1.4 KiB
JSON
57 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://getcomposer.org/schema.json",
|
|
"name": "lthn/lthn.io",
|
|
"type": "project",
|
|
"description": "Lethean.io — TLD website and blockchain services",
|
|
"keywords": ["lethean", "blockchain", "tld", "explorer", "dex"],
|
|
"license": "EUPL-1.2",
|
|
"require": {
|
|
"php": "^8.4",
|
|
"core/php": "*",
|
|
"laravel/framework": "^12.0",
|
|
"guzzlehttp/guzzle": "^7.9"
|
|
},
|
|
"require-dev": {
|
|
"larastan/larastan": "^3.0",
|
|
"laravel/pint": "^1.18",
|
|
"pestphp/pest": "^3.7"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"App\\": "app/",
|
|
"Mod\\": "app/Mod/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Tests\\": "tests/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"lint": "pint",
|
|
"analyse": "phpstan analyse",
|
|
"test": "pest"
|
|
},
|
|
"extra": {
|
|
"laravel": {
|
|
"dont-discover": []
|
|
}
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"preferred-install": "dist",
|
|
"sort-packages": true,
|
|
"allow-plugins": {
|
|
"pestphp/pest-plugin": true,
|
|
"php-http/discovery": true
|
|
}
|
|
},
|
|
"repositories": [
|
|
{
|
|
"type": "vcs",
|
|
"url": "https://forge.lthn.ai/core/php.git"
|
|
}
|
|
],
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true
|
|
}
|