Fixed: basePath self→static binding, namespace detection, event wiring,
SQLite cache, file cache driver. All Mod Boot classes converted to
$listens pattern for lifecycle event discovery.
Working endpoints:
- /v1/explorer/info — live chain height, difficulty, aliases
- /v1/explorer/stats — formatted chain statistics
- /v1/names/directory — alias directory grouped by type
- /v1/names/available/{name} — name availability check
- /v1/names/lookup/{name} — name details
Co-Authored-By: Charon <charon@lethean.io>
62 lines
1.5 KiB
JSON
62 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://getcomposer.org/schema.json",
|
|
"name": "lthn/lthn.io",
|
|
"type": "project",
|
|
"description": "Lethean.io \u2014 TLD website and blockchain services",
|
|
"keywords": [
|
|
"lethean",
|
|
"blockchain",
|
|
"tld",
|
|
"explorer",
|
|
"dex"
|
|
],
|
|
"license": "EUPL-1.2",
|
|
"require": {
|
|
"php": "^8.4",
|
|
"guzzlehttp/guzzle": "^7.9",
|
|
"laravel/framework": "^12.0",
|
|
"laravel/pennant": "^1.23",
|
|
"livewire/livewire": "^4.2"
|
|
},
|
|
"require-dev": {
|
|
"larastan/larastan": "^3.0",
|
|
"laravel/pint": "^1.18",
|
|
"pestphp/pest": "^3.7"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"App\\": "app/",
|
|
"Mod\\": "app/Mod/",
|
|
"Website\\": "app/Website/",
|
|
"Core\\": "app/Core/",
|
|
"Core\\Website\\": "app/CoreWebsite/"
|
|
}
|
|
},
|
|
"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": [],
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true
|
|
}
|