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>
36 lines
818 B
PHP
36 lines
818 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Core\Front\Client;
|
|
|
|
use Illuminate\Foundation\Configuration\Middleware;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
/**
|
|
* Client frontage stub.
|
|
*
|
|
* Provides the Client frontage interface without the full lthn/client package.
|
|
* Apps that need the full client dashboard should require lthn/client which
|
|
* replaces this stub with the real implementation.
|
|
*/
|
|
class Boot extends ServiceProvider
|
|
{
|
|
public function register(): void
|
|
{
|
|
//
|
|
}
|
|
|
|
public function boot(): void
|
|
{
|
|
//
|
|
}
|
|
|
|
public static function middleware(Middleware $middleware): void
|
|
{
|
|
$middleware->group('client', [
|
|
\Illuminate\Cookie\Middleware\EncryptCookies::class,
|
|
\Illuminate\Session\Middleware\StartSession::class,
|
|
]);
|
|
}
|
|
}
|