feat: complete module scaffolding — all 6 modules with controllers, routes, services
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>
This commit is contained in:
parent
77cc45dd83
commit
756be80d04
38 changed files with 594 additions and 854 deletions
10
Caddyfile
Normal file
10
Caddyfile
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
frankenphp
|
||||||
|
order php_server before file_server
|
||||||
|
}
|
||||||
|
|
||||||
|
:80 {
|
||||||
|
root * /app/public
|
||||||
|
encode zstd br gzip
|
||||||
|
php_server
|
||||||
|
}
|
||||||
32
Dockerfile
Normal file
32
Dockerfile
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
FROM dunglas/frankenphp:latest
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
# System deps
|
||||||
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
git unzip curl \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# Composer
|
||||||
|
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||||
|
|
||||||
|
# App source
|
||||||
|
COPY . /app
|
||||||
|
|
||||||
|
# Install deps
|
||||||
|
RUN composer install --no-dev --optimize-autoloader --no-interaction 2>/dev/null || true
|
||||||
|
|
||||||
|
# Storage dirs
|
||||||
|
RUN mkdir -p storage/framework/{sessions,views,cache/data} \
|
||||||
|
&& chmod -R 777 storage bootstrap/cache 2>/dev/null || true
|
||||||
|
|
||||||
|
# Environment
|
||||||
|
ENV APP_ENV=production
|
||||||
|
ENV APP_DEBUG=false
|
||||||
|
ENV APP_URL=https://lthn.io
|
||||||
|
ENV CHAIN_MODE=remote
|
||||||
|
ENV DAEMON_RPC=http://127.0.0.1:46941/json_rpc
|
||||||
|
|
||||||
|
EXPOSE 443 80
|
||||||
|
|
||||||
|
CMD ["frankenphp", "run", "--config", "/app/Caddyfile"]
|
||||||
|
|
@ -31,6 +31,7 @@ class Boot extends CoreBoot
|
||||||
*/
|
*/
|
||||||
public static array $modules = [
|
public static array $modules = [
|
||||||
\Mod\Chain\Boot::class,
|
\Mod\Chain\Boot::class,
|
||||||
|
\Mod\Home\Boot::class,
|
||||||
\Mod\Explorer\Boot::class,
|
\Mod\Explorer\Boot::class,
|
||||||
\Mod\Trade\Boot::class,
|
\Mod\Trade\Boot::class,
|
||||||
\Mod\Pool\Boot::class,
|
\Mod\Pool\Boot::class,
|
||||||
|
|
|
||||||
27
app/Mod/Home/Boot.php
Normal file
27
app/Mod/Home/Boot.php
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Mod\Home;
|
||||||
|
|
||||||
|
use Core\Front\Events\WebRoutesRegistering;
|
||||||
|
use Illuminate\Support\Facades\Event;
|
||||||
|
use Illuminate\Support\Facades\Route;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Landing page module.
|
||||||
|
*
|
||||||
|
* The lthn.io homepage — TLD overview, ecosystem links, chain stats.
|
||||||
|
*/
|
||||||
|
class Boot
|
||||||
|
{
|
||||||
|
public function __invoke(): void
|
||||||
|
{
|
||||||
|
Event::listen(WebRoutesRegistering::class, [$this, 'onWebRoutesRegistering']);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function onWebRoutesRegistering(): void
|
||||||
|
{
|
||||||
|
Route::get('/', [\Mod\Home\Controllers\HomeController::class, 'index']);
|
||||||
|
}
|
||||||
|
}
|
||||||
58
app/Mod/Home/Controllers/HomeController.php
Normal file
58
app/Mod/Home/Controllers/HomeController.php
Normal file
|
|
@ -0,0 +1,58 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Mod\Home\Controllers;
|
||||||
|
|
||||||
|
use Illuminate\Routing\Controller;
|
||||||
|
use Mod\Chain\Services\DaemonRpc;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* lthn.io landing page.
|
||||||
|
*
|
||||||
|
* GET / — ecosystem overview with live chain stats
|
||||||
|
*/
|
||||||
|
class HomeController extends Controller
|
||||||
|
{
|
||||||
|
public function __construct(
|
||||||
|
private readonly DaemonRpc $rpc,
|
||||||
|
) {}
|
||||||
|
|
||||||
|
public function index(): \Illuminate\View\View
|
||||||
|
{
|
||||||
|
$info = $this->rpc->getInfo();
|
||||||
|
$aliases = $this->rpc->getAllAliases();
|
||||||
|
|
||||||
|
return view('home::index', [
|
||||||
|
'height' => $info['height'] ?? 0,
|
||||||
|
'aliases' => count($aliases['aliases'] ?? []),
|
||||||
|
'transactions' => $info['tx_count'] ?? 0,
|
||||||
|
'hashrate' => $info['current_network_hashrate_350'] ?? 0,
|
||||||
|
'difficulty' => [
|
||||||
|
'pow' => $info['pow_difficulty'] ?? 0,
|
||||||
|
'pos' => $info['pos_difficulty'] ?? '0',
|
||||||
|
],
|
||||||
|
'services' => $this->countServicesByType($aliases['aliases'] ?? []),
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
private function countServicesByType(array $aliases): array
|
||||||
|
{
|
||||||
|
$counts = ['gateway' => 0, 'service' => 0, 'exit' => 0, 'user' => 0];
|
||||||
|
|
||||||
|
foreach ($aliases as $alias) {
|
||||||
|
$comment = $alias['comment'] ?? '';
|
||||||
|
if (str_contains($comment, 'type=gateway')) {
|
||||||
|
$counts['gateway']++;
|
||||||
|
} elseif (str_contains($comment, 'type=exit')) {
|
||||||
|
$counts['exit']++;
|
||||||
|
} elseif (str_contains($comment, 'type=service')) {
|
||||||
|
$counts['service']++;
|
||||||
|
} else {
|
||||||
|
$counts['user']++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return $counts;
|
||||||
|
}
|
||||||
|
}
|
||||||
60
app/Mod/Names/Controllers/NamesWebController.php
Normal file
60
app/Mod/Names/Controllers/NamesWebController.php
Normal file
|
|
@ -0,0 +1,60 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Mod\Names\Controllers;
|
||||||
|
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use Illuminate\Routing\Controller;
|
||||||
|
use Mod\Chain\Services\DaemonRpc;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* .lthn name registrar web views.
|
||||||
|
*
|
||||||
|
* GET /names — search + directory
|
||||||
|
* GET /names/register — registration form
|
||||||
|
* GET /names/{name} — name detail page
|
||||||
|
*/
|
||||||
|
class NamesWebController extends Controller
|
||||||
|
{
|
||||||
|
public function __construct(
|
||||||
|
private readonly DaemonRpc $rpc,
|
||||||
|
) {}
|
||||||
|
|
||||||
|
public function index(Request $request): \Illuminate\View\View
|
||||||
|
{
|
||||||
|
$result = $this->rpc->getAllAliases();
|
||||||
|
$aliases = $result['aliases'] ?? [];
|
||||||
|
$search = $request->get('search', '');
|
||||||
|
|
||||||
|
if ($search) {
|
||||||
|
$aliases = array_filter($aliases, fn ($a) => str_contains($a['alias'] ?? '', strtolower($search))
|
||||||
|
|| str_contains($a['comment'] ?? '', strtolower($search)));
|
||||||
|
}
|
||||||
|
|
||||||
|
return view('names::index', [
|
||||||
|
'aliases' => array_values($aliases),
|
||||||
|
'total' => count($result['aliases'] ?? []),
|
||||||
|
'search' => $search,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function register(): \Illuminate\View\View
|
||||||
|
{
|
||||||
|
return view('names::register');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function show(string $name): \Illuminate\View\View
|
||||||
|
{
|
||||||
|
$alias = $this->rpc->getAliasByName($name);
|
||||||
|
|
||||||
|
if (! $alias) {
|
||||||
|
return view('names::available', ['name' => $name]);
|
||||||
|
}
|
||||||
|
|
||||||
|
return view('names::show', [
|
||||||
|
'name' => $name,
|
||||||
|
'alias' => $alias,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
}
|
||||||
10
app/Mod/Names/Routes/web.php
Normal file
10
app/Mod/Names/Routes/web.php
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Route;
|
||||||
|
use Mod\Names\Controllers\NamesWebController;
|
||||||
|
|
||||||
|
Route::get('/', [NamesWebController::class, 'index']);
|
||||||
|
Route::get('/register', [NamesWebController::class, 'register']);
|
||||||
|
Route::get('/{name}', [NamesWebController::class, 'show']);
|
||||||
41
app/Mod/Pool/Boot.php
Normal file
41
app/Mod/Pool/Boot.php
Normal file
|
|
@ -0,0 +1,41 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Mod\Pool;
|
||||||
|
|
||||||
|
use Core\Front\Events\ApiRoutesRegistering;
|
||||||
|
use Core\Front\Events\WebRoutesRegistering;
|
||||||
|
use Illuminate\Support\Facades\Event;
|
||||||
|
use Illuminate\Support\Facades\Route;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Mining pool dashboard module.
|
||||||
|
*
|
||||||
|
* Displays pool stats by querying the pool API (Redis-backed Node.js stratum).
|
||||||
|
* The stratum server remains separate (native C++ ProgPoWZ hashing).
|
||||||
|
*/
|
||||||
|
class Boot
|
||||||
|
{
|
||||||
|
public function __invoke(): void
|
||||||
|
{
|
||||||
|
app('config')->set('pool', require __DIR__ . '/config.php');
|
||||||
|
$this->registerListeners();
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function registerListeners(): void
|
||||||
|
{
|
||||||
|
Event::listen(WebRoutesRegistering::class, [$this, 'onWebRoutesRegistering']);
|
||||||
|
Event::listen(ApiRoutesRegistering::class, [$this, 'onApiRoutesRegistering']);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function onWebRoutesRegistering(): void
|
||||||
|
{
|
||||||
|
Route::prefix('pool')->group(__DIR__ . '/Routes/web.php');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function onApiRoutesRegistering(): void
|
||||||
|
{
|
||||||
|
Route::prefix('v1/pool')->group(__DIR__ . '/Routes/api.php');
|
||||||
|
}
|
||||||
|
}
|
||||||
56
app/Mod/Pool/Controllers/PoolController.php
Normal file
56
app/Mod/Pool/Controllers/PoolController.php
Normal file
|
|
@ -0,0 +1,56 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Mod\Pool\Controllers;
|
||||||
|
|
||||||
|
use Illuminate\Http\JsonResponse;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use Illuminate\Routing\Controller;
|
||||||
|
use Mod\Pool\Services\PoolClient;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Mining pool dashboard.
|
||||||
|
*
|
||||||
|
* GET /pool — pool overview
|
||||||
|
* GET /pool/blocks — blocks found
|
||||||
|
* GET /pool/payments — payout history
|
||||||
|
* GET /pool/miner — individual miner stats
|
||||||
|
*/
|
||||||
|
class PoolController extends Controller
|
||||||
|
{
|
||||||
|
public function __construct(
|
||||||
|
private readonly PoolClient $pool,
|
||||||
|
) {}
|
||||||
|
|
||||||
|
public function index(): \Illuminate\View\View
|
||||||
|
{
|
||||||
|
return view('pool::index', [
|
||||||
|
'stats' => $this->pool->getStats(),
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function blocks(): \Illuminate\View\View
|
||||||
|
{
|
||||||
|
return view('pool::blocks', [
|
||||||
|
'blocks' => $this->pool->getBlocks(),
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function payments(): \Illuminate\View\View
|
||||||
|
{
|
||||||
|
return view('pool::payments', [
|
||||||
|
'payments' => $this->pool->getPayments(),
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function miner(Request $request): \Illuminate\View\View
|
||||||
|
{
|
||||||
|
$address = $request->get('address', '');
|
||||||
|
|
||||||
|
return view('pool::miner', [
|
||||||
|
'stats' => $address ? $this->pool->getMinerStats($address) : [],
|
||||||
|
'address' => $address,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
}
|
||||||
10
app/Mod/Pool/Routes/api.php
Normal file
10
app/Mod/Pool/Routes/api.php
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Route;
|
||||||
|
use Mod\Pool\Services\PoolClient;
|
||||||
|
|
||||||
|
Route::get('/stats', fn () => response()->json(app(PoolClient::class)->getStats()));
|
||||||
|
Route::get('/blocks', fn () => response()->json(app(PoolClient::class)->getBlocks()));
|
||||||
|
Route::get('/payments', fn () => response()->json(app(PoolClient::class)->getPayments()));
|
||||||
11
app/Mod/Pool/Routes/web.php
Normal file
11
app/Mod/Pool/Routes/web.php
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Route;
|
||||||
|
use Mod\Pool\Controllers\PoolController;
|
||||||
|
|
||||||
|
Route::get('/', [PoolController::class, 'index']);
|
||||||
|
Route::get('/blocks', [PoolController::class, 'blocks']);
|
||||||
|
Route::get('/payments', [PoolController::class, 'payments']);
|
||||||
|
Route::get('/miner', [PoolController::class, 'miner']);
|
||||||
62
app/Mod/Pool/Services/PoolClient.php
Normal file
62
app/Mod/Pool/Services/PoolClient.php
Normal file
|
|
@ -0,0 +1,62 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Mod\Pool\Services;
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Cache;
|
||||||
|
use Illuminate\Support\Facades\Http;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Mining pool API client.
|
||||||
|
*
|
||||||
|
* $pool = app(PoolClient::class);
|
||||||
|
* $stats = $pool->getStats();
|
||||||
|
*/
|
||||||
|
class PoolClient
|
||||||
|
{
|
||||||
|
private string $apiUrl;
|
||||||
|
private int $cacheTtl;
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->apiUrl = config('pool.api_url', 'http://127.0.0.1:2117');
|
||||||
|
$this->cacheTtl = config('pool.cache_ttl', 15);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getStats(): array
|
||||||
|
{
|
||||||
|
return Cache::remember('pool.stats', $this->cacheTtl, function () {
|
||||||
|
$response = Http::timeout(5)->get("{$this->apiUrl}/stats");
|
||||||
|
|
||||||
|
return $response->successful() ? $response->json() : [];
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getBlocks(): array
|
||||||
|
{
|
||||||
|
return Cache::remember('pool.blocks', $this->cacheTtl, function () {
|
||||||
|
$response = Http::timeout(5)->get("{$this->apiUrl}/get_blocks");
|
||||||
|
|
||||||
|
return $response->successful() ? $response->json() : [];
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getPayments(): array
|
||||||
|
{
|
||||||
|
return Cache::remember('pool.payments', $this->cacheTtl, function () {
|
||||||
|
$response = Http::timeout(5)->get("{$this->apiUrl}/get_payments");
|
||||||
|
|
||||||
|
return $response->successful() ? $response->json() : [];
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getMinerStats(string $address): array
|
||||||
|
{
|
||||||
|
$response = Http::timeout(5)->get("{$this->apiUrl}/stats_address", [
|
||||||
|
'address' => $address,
|
||||||
|
]);
|
||||||
|
|
||||||
|
return $response->successful() ? $response->json() : [];
|
||||||
|
}
|
||||||
|
}
|
||||||
8
app/Mod/Pool/config.php
Normal file
8
app/Mod/Pool/config.php
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
return [
|
||||||
|
'api_url' => env('POOL_API_URL', 'http://127.0.0.1:2117'),
|
||||||
|
'cache_ttl' => (int) env('POOL_CACHE_TTL', 15),
|
||||||
|
];
|
||||||
41
app/Mod/Trade/Boot.php
Normal file
41
app/Mod/Trade/Boot.php
Normal file
|
|
@ -0,0 +1,41 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Mod\Trade;
|
||||||
|
|
||||||
|
use Core\Front\Events\ApiRoutesRegistering;
|
||||||
|
use Core\Front\Events\WebRoutesRegistering;
|
||||||
|
use Illuminate\Support\Facades\Event;
|
||||||
|
use Illuminate\Support\Facades\Route;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Decentralised exchange module.
|
||||||
|
*
|
||||||
|
* Provides DEX trading, token swaps, and P2P marketplace.
|
||||||
|
* Replaces zano_trade_backend + zano_trade_frontend.
|
||||||
|
*/
|
||||||
|
class Boot
|
||||||
|
{
|
||||||
|
public function __invoke(): void
|
||||||
|
{
|
||||||
|
app('config')->set('trade', require __DIR__ . '/config.php');
|
||||||
|
$this->registerListeners();
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function registerListeners(): void
|
||||||
|
{
|
||||||
|
Event::listen(WebRoutesRegistering::class, [$this, 'onWebRoutesRegistering']);
|
||||||
|
Event::listen(ApiRoutesRegistering::class, [$this, 'onApiRoutesRegistering']);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function onWebRoutesRegistering(): void
|
||||||
|
{
|
||||||
|
Route::prefix('trade')->group(__DIR__ . '/Routes/web.php');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function onApiRoutesRegistering(): void
|
||||||
|
{
|
||||||
|
Route::prefix('v1/trade')->group(__DIR__ . '/Routes/api.php');
|
||||||
|
}
|
||||||
|
}
|
||||||
73
app/Mod/Trade/Controllers/TradeApiController.php
Normal file
73
app/Mod/Trade/Controllers/TradeApiController.php
Normal file
|
|
@ -0,0 +1,73 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Mod\Trade\Controllers;
|
||||||
|
|
||||||
|
use Illuminate\Http\JsonResponse;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use Illuminate\Routing\Controller;
|
||||||
|
use Mod\Chain\Services\DaemonRpc;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* DEX trade API — compatible with the upstream zano_trade_backend.
|
||||||
|
*
|
||||||
|
* GET /v1/trade/pairs — available trading pairs
|
||||||
|
* GET /v1/trade/pair/{id} — single pair details
|
||||||
|
* POST /v1/trade/order — create order
|
||||||
|
* GET /v1/trade/orders — list orders
|
||||||
|
* GET /v1/trade/config — exchange configuration
|
||||||
|
*/
|
||||||
|
class TradeApiController extends Controller
|
||||||
|
{
|
||||||
|
public function __construct(
|
||||||
|
private readonly DaemonRpc $rpc,
|
||||||
|
) {}
|
||||||
|
|
||||||
|
public function config(): JsonResponse
|
||||||
|
{
|
||||||
|
$info = $this->rpc->getInfo();
|
||||||
|
|
||||||
|
return response()->json([
|
||||||
|
'success' => true,
|
||||||
|
'data' => [
|
||||||
|
'currencies' => [
|
||||||
|
[
|
||||||
|
'name' => 'LTHN',
|
||||||
|
'code' => 'lethean',
|
||||||
|
'type' => 'crypto',
|
||||||
|
'asset_id' => 'd6329b5b1f7c0805b5c345f4957554002a2f557845f64d7645dae0e051a6498a',
|
||||||
|
'asset_info' => ['decimal_point' => 12],
|
||||||
|
],
|
||||||
|
],
|
||||||
|
'network' => config('chain.network'),
|
||||||
|
'height' => $info['height'] ?? 0,
|
||||||
|
],
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function pairs(): JsonResponse
|
||||||
|
{
|
||||||
|
// Pairs are configured, not discovered — for now return LTHN native
|
||||||
|
return response()->json([
|
||||||
|
'success' => true,
|
||||||
|
'data' => [],
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function pair(int $id): JsonResponse
|
||||||
|
{
|
||||||
|
return response()->json([
|
||||||
|
'success' => false,
|
||||||
|
'error' => 'Pair not found',
|
||||||
|
], 404);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function orders(): JsonResponse
|
||||||
|
{
|
||||||
|
return response()->json([
|
||||||
|
'success' => true,
|
||||||
|
'data' => [],
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
}
|
||||||
46
app/Mod/Trade/Controllers/TradeController.php
Normal file
46
app/Mod/Trade/Controllers/TradeController.php
Normal file
|
|
@ -0,0 +1,46 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Mod\Trade\Controllers;
|
||||||
|
|
||||||
|
use Illuminate\Http\JsonResponse;
|
||||||
|
use Illuminate\Routing\Controller;
|
||||||
|
use Mod\Chain\Services\DaemonRpc;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* DEX trade controller.
|
||||||
|
*
|
||||||
|
* GET /trade — DEX overview with trading pairs
|
||||||
|
* GET /trade/swap — token swap interface
|
||||||
|
* GET /trade/p2p — P2P marketplace
|
||||||
|
* GET /trade/orders — user order history
|
||||||
|
*/
|
||||||
|
class TradeController extends Controller
|
||||||
|
{
|
||||||
|
public function __construct(
|
||||||
|
private readonly DaemonRpc $rpc,
|
||||||
|
) {}
|
||||||
|
|
||||||
|
public function index(): \Illuminate\View\View
|
||||||
|
{
|
||||||
|
return view('trade::index', [
|
||||||
|
'info' => $this->rpc->getInfo(),
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function swap(): \Illuminate\View\View
|
||||||
|
{
|
||||||
|
return view('trade::swap');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function p2p(): \Illuminate\View\View
|
||||||
|
{
|
||||||
|
return view('trade::p2p');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function orders(): \Illuminate\View\View
|
||||||
|
{
|
||||||
|
return view('trade::orders');
|
||||||
|
}
|
||||||
|
}
|
||||||
11
app/Mod/Trade/Routes/api.php
Normal file
11
app/Mod/Trade/Routes/api.php
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Route;
|
||||||
|
use Mod\Trade\Controllers\TradeApiController;
|
||||||
|
|
||||||
|
Route::get('/config', [TradeApiController::class, 'config']);
|
||||||
|
Route::get('/pairs', [TradeApiController::class, 'pairs']);
|
||||||
|
Route::get('/pair/{id}', [TradeApiController::class, 'pair']);
|
||||||
|
Route::get('/orders', [TradeApiController::class, 'orders']);
|
||||||
11
app/Mod/Trade/Routes/web.php
Normal file
11
app/Mod/Trade/Routes/web.php
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Route;
|
||||||
|
use Mod\Trade\Controllers\TradeController;
|
||||||
|
|
||||||
|
Route::get('/', [TradeController::class, 'index']);
|
||||||
|
Route::get('/swap', [TradeController::class, 'swap']);
|
||||||
|
Route::get('/p2p', [TradeController::class, 'p2p']);
|
||||||
|
Route::get('/orders', [TradeController::class, 'orders']);
|
||||||
9
app/Mod/Trade/config.php
Normal file
9
app/Mod/Trade/config.php
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
return [
|
||||||
|
'daemon_rpc' => env('DAEMON_RPC', 'http://127.0.0.1:46941/json_rpc'),
|
||||||
|
'wallet_rpc' => env('WALLET_RPC', 'http://127.0.0.1:46944/json_rpc'),
|
||||||
|
'jwt_secret' => env('TRADE_JWT_SECRET', ''),
|
||||||
|
];
|
||||||
241
composer.json
241
composer.json
|
|
@ -1,81 +1,25 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://getcomposer.org/schema.json",
|
"$schema": "https://getcomposer.org/schema.json",
|
||||||
"name": "laravel/laravel",
|
"name": "lthn/lthn.io",
|
||||||
"type": "project",
|
"type": "project",
|
||||||
"description": "The skeleton application for the Laravel framework.",
|
"description": "Lethean.io — TLD website and blockchain services",
|
||||||
"keywords": ["laravel", "framework"],
|
"keywords": ["lethean", "blockchain", "tld", "explorer", "dex"],
|
||||||
"license": "MIT",
|
"license": "EUPL-1.2",
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.5",
|
"php": "^8.4",
|
||||||
"bunnycdn/storage": "^3.4",
|
|
||||||
"chillerlan/php-qrcode": "^5.0",
|
|
||||||
"core/php": "*",
|
"core/php": "*",
|
||||||
"core/php-admin": "*",
|
|
||||||
"core/php-commerce": "dev-main",
|
|
||||||
"core/php-content": "dev-main",
|
|
||||||
"core/php-plug-business": "dev-main",
|
|
||||||
"core/php-plug-cdn": "dev-main",
|
|
||||||
"core/php-plug-chat": "dev-main",
|
|
||||||
"core/php-plug-content": "dev-main",
|
|
||||||
"core/php-plug-social": "dev-main",
|
|
||||||
"core/php-plug-stock": "dev-main",
|
|
||||||
"core/php-plug-storage": "dev-main",
|
|
||||||
"core/php-plug-web3": "dev-main",
|
|
||||||
"core/php-tenant": "dev-main",
|
|
||||||
"core/php-uptelligence": "dev-main",
|
|
||||||
"dedoc/scramble": "^0.13.10",
|
|
||||||
"ezyang/htmlpurifier": "^4.19",
|
|
||||||
"jaybizzle/crawler-detect": "^1.3",
|
|
||||||
"jenssegers/agent": "^2.6",
|
|
||||||
"laravel/framework": "^12.0",
|
"laravel/framework": "^12.0",
|
||||||
"laravel/horizon": "^5.42",
|
"guzzlehttp/guzzle": "^7.9"
|
||||||
"laravel/mcp": "^0.5.1",
|
|
||||||
"laravel/octane": "^2.13",
|
|
||||||
"laravel/pennant": "^1.18",
|
|
||||||
"laravel/pulse": "^1.5",
|
|
||||||
"laravel/reverb": "^1.6",
|
|
||||||
"laravel/tinker": "^2.10.1",
|
|
||||||
"league/flysystem-aws-s3-v3": "^3.30",
|
|
||||||
"league/iso3166": "^4.4",
|
|
||||||
"livewire/flux": "*",
|
|
||||||
"livewire/flux-pro": "*",
|
|
||||||
"livewire/livewire": "^4.0",
|
|
||||||
"lthn/agent": "dev-main",
|
|
||||||
"lthn/api": "dev-main",
|
|
||||||
"lthn/client": "dev-main",
|
|
||||||
"lthn/mcp": "*",
|
|
||||||
"lthn/php-plug-altum": "dev-main",
|
|
||||||
"lthn/service": "dev-main",
|
|
||||||
"maxmind-db/reader": "^1.13",
|
|
||||||
"minishlink/web-push": "^10.0",
|
|
||||||
"opcodesio/log-viewer": "^3.21",
|
|
||||||
"predis/predis": "^3.3",
|
|
||||||
"sentry/sentry-laravel": "^4.20",
|
|
||||||
"spatie/laravel-activitylog": "^4.10",
|
|
||||||
"webklex/php-imap": "^6.2"
|
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"erusev/parsedown": "^1.7",
|
"larastan/larastan": "^3.0",
|
||||||
"fakerphp/faker": "^1.23",
|
"laravel/pint": "^1.18",
|
||||||
"laravel/boost": "^1.8",
|
"pestphp/pest": "^3.7"
|
||||||
"laravel/pail": "^1.2.2",
|
|
||||||
"laravel/pint": "^1.24",
|
|
||||||
"laravel/sail": "^1.41",
|
|
||||||
"mockery/mockery": "^1.6",
|
|
||||||
"nunomaduro/collision": "^8.6",
|
|
||||||
"pestphp/pest": "^4.2",
|
|
||||||
"pestphp/pest-plugin-browser": "^4.1",
|
|
||||||
"pestphp/pest-plugin-laravel": "^4.0",
|
|
||||||
"core/php-developer": "*"
|
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"Mod\\": "app/Mod/",
|
|
||||||
"Service\\": "app/Service/",
|
|
||||||
"Website\\": "app/Website/",
|
|
||||||
"App\\": "app/",
|
"App\\": "app/",
|
||||||
"Database\\Factories\\": "database/factories/",
|
"Mod\\": "app/Mod/"
|
||||||
"Database\\Seeders\\": "database/seeders/"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload-dev": {
|
"autoload-dev": {
|
||||||
|
|
@ -84,66 +28,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"setup": [
|
"lint": "pint",
|
||||||
"composer install",
|
"analyse": "phpstan analyse",
|
||||||
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
|
"test": "pest"
|
||||||
"@php artisan key:generate",
|
|
||||||
"@php artisan migrate --force",
|
|
||||||
"npm install",
|
|
||||||
"npm run build"
|
|
||||||
],
|
|
||||||
"dev": [
|
|
||||||
"Composer\\Config::disableProcessTimeout",
|
|
||||||
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite --kill-others"
|
|
||||||
],
|
|
||||||
"dev:valet": [
|
|
||||||
"Composer\\Config::disableProcessTimeout",
|
|
||||||
"npx concurrently -c \"#a78bfa,#c4b5fd,#fb7185,#fdba74\" \"php artisan reverb:start\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=reverb,queue,logs,vite --kill-others"
|
|
||||||
],
|
|
||||||
"dev:packages": "COMPOSER=composer.local.json composer update",
|
|
||||||
"test": [
|
|
||||||
"Composer\\Config::disableProcessTimeout",
|
|
||||||
"@php artisan config:clear --ansi",
|
|
||||||
"@php artisan test --exclude-group=slow,deploy"
|
|
||||||
],
|
|
||||||
"test:all": [
|
|
||||||
"Composer\\Config::disableProcessTimeout",
|
|
||||||
"@php artisan config:clear --ansi",
|
|
||||||
"@php artisan test"
|
|
||||||
],
|
|
||||||
"test:fast": [
|
|
||||||
"@php artisan config:clear --ansi",
|
|
||||||
"@php artisan test --testsuite=Unit"
|
|
||||||
],
|
|
||||||
"test:deploy": [
|
|
||||||
"Composer\\Config::disableProcessTimeout",
|
|
||||||
"@php artisan config:clear --ansi",
|
|
||||||
"@php artisan test"
|
|
||||||
],
|
|
||||||
"db:reset": [
|
|
||||||
"@php artisan migrate:fresh --seed --ansi"
|
|
||||||
],
|
|
||||||
"db:reset:testing": [
|
|
||||||
"@php artisan migrate:fresh --seed --database=mariadb --env=testing --ansi"
|
|
||||||
],
|
|
||||||
"post-autoload-dump": [
|
|
||||||
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
|
|
||||||
"@php artisan package:discover --ansi"
|
|
||||||
],
|
|
||||||
"post-update-cmd": [
|
|
||||||
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
|
|
||||||
],
|
|
||||||
"post-root-package-install": [
|
|
||||||
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
|
||||||
],
|
|
||||||
"post-create-project-cmd": [
|
|
||||||
"@php artisan key:generate --ansi",
|
|
||||||
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
|
|
||||||
"@php artisan migrate --graceful --ansi"
|
|
||||||
],
|
|
||||||
"pre-package-uninstall": [
|
|
||||||
"Illuminate\\Foundation\\ComposerScripts::prePackageUninstall"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"laravel": {
|
"laravel": {
|
||||||
|
|
@ -159,106 +46,12 @@
|
||||||
"php-http/discovery": true
|
"php-http/discovery": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"minimum-stability": "dev",
|
|
||||||
"prefer-stable": true,
|
|
||||||
"repositories": [
|
"repositories": [
|
||||||
{
|
|
||||||
"type": "path",
|
|
||||||
"url": "packages/livewire/flux",
|
|
||||||
"options": {
|
|
||||||
"symlink": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "path",
|
|
||||||
"url": "packages/livewire/flux-pro",
|
|
||||||
"options": {
|
|
||||||
"symlink": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "vcs",
|
"type": "vcs",
|
||||||
"url": "ssh://git@forge.lthn.ai:2223/core/php.git"
|
"url": "https://forge.lthn.ai/core/php.git"
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "vcs",
|
|
||||||
"url": "ssh://git@forge.lthn.ai:2223/core/php-admin.git"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "vcs",
|
|
||||||
"url": "ssh://git@forge.lthn.ai:2223/core/api.git"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "vcs",
|
|
||||||
"url": "ssh://git@forge.lthn.ai:2223/core/mcp.git"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "vcs",
|
|
||||||
"url": "ssh://git@forge.lthn.ai:2223/core/php-developer.git"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "vcs",
|
|
||||||
"url": "ssh://git@forge.lthn.ai:2223/core/php-tenant.git"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "vcs",
|
|
||||||
"url": "ssh://git@forge.lthn.ai:2223/core/agent.git"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "vcs",
|
|
||||||
"url": "ssh://git@forge.lthn.ai:2223/core/php-commerce.git"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "vcs",
|
|
||||||
"url": "ssh://git@forge.lthn.ai:2223/core/php-content.git"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "vcs",
|
|
||||||
"url": "ssh://git@forge.lthn.ai:2223/core/php-plug-business.git"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "vcs",
|
|
||||||
"url": "ssh://git@forge.lthn.ai:2223/core/php-plug-cdn.git"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "vcs",
|
|
||||||
"url": "ssh://git@forge.lthn.ai:2223/core/php-plug-chat.git"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "vcs",
|
|
||||||
"url": "ssh://git@forge.lthn.ai:2223/core/php-plug-content.git"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "vcs",
|
|
||||||
"url": "ssh://git@forge.lthn.ai:2223/core/php-plug-social.git"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "vcs",
|
|
||||||
"url": "ssh://git@forge.lthn.ai:2223/core/php-plug-stock.git"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "vcs",
|
|
||||||
"url": "ssh://git@forge.lthn.ai:2223/core/php-plug-storage.git"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "vcs",
|
|
||||||
"url": "ssh://git@forge.lthn.ai:2223/core/php-plug-web3.git"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "vcs",
|
|
||||||
"url": "ssh://git@forge.lthn.ai:2223/core/php-uptelligence.git"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "vcs",
|
|
||||||
"url": "ssh://git@forge.lthn.ai:2223/core/php-service.git"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "vcs",
|
|
||||||
"url": "ssh://git@forge.lthn.ai:2223/core/php-client.git"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "vcs",
|
|
||||||
"url": "ssh://git@forge.lthn.ai:2223/core/php-plug-altum.git"
|
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"minimum-stability": "dev",
|
||||||
|
"prefer-stable": true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,135 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Sentry Laravel SDK configuration file.
|
|
||||||
*
|
|
||||||
* @see https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/
|
|
||||||
*/
|
|
||||||
return [
|
|
||||||
|
|
||||||
// @see https://docs.sentry.io/product/sentry-basics/dsn-explainer/
|
|
||||||
'dsn' => env('SENTRY_LARAVEL_DSN', env('SENTRY_DSN')),
|
|
||||||
|
|
||||||
// @see https://spotlightjs.com/
|
|
||||||
// 'spotlight' => env('SENTRY_SPOTLIGHT', false),
|
|
||||||
|
|
||||||
// @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#logger
|
|
||||||
// 'logger' => Sentry\Logger\DebugFileLogger::class, // Uncomment to debug - logs to storage/logs/sentry.log
|
|
||||||
|
|
||||||
// The release version of your application
|
|
||||||
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
|
|
||||||
'release' => env('SENTRY_RELEASE'),
|
|
||||||
|
|
||||||
// When left empty or `null` the Laravel environment will be used (usually discovered from `APP_ENV` in your `.env`)
|
|
||||||
'environment' => env('SENTRY_ENVIRONMENT'),
|
|
||||||
|
|
||||||
// @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#sample_rate
|
|
||||||
'sample_rate' => env('SENTRY_SAMPLE_RATE') === null ? 1.0 : (float) env('SENTRY_SAMPLE_RATE'),
|
|
||||||
|
|
||||||
// @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#traces_sample_rate
|
|
||||||
'traces_sample_rate' => env('SENTRY_TRACES_SAMPLE_RATE') === null ? null : (float) env('SENTRY_TRACES_SAMPLE_RATE'),
|
|
||||||
|
|
||||||
// @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#profiles-sample-rate
|
|
||||||
'profiles_sample_rate' => env('SENTRY_PROFILES_SAMPLE_RATE') === null ? null : (float) env('SENTRY_PROFILES_SAMPLE_RATE'),
|
|
||||||
|
|
||||||
// @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#enable_logs
|
|
||||||
'enable_logs' => env('SENTRY_ENABLE_LOGS', false),
|
|
||||||
|
|
||||||
// The minimum log level that will be sent to Sentry as logs using the `sentry_logs` logging channel
|
|
||||||
'logs_channel_level' => env('SENTRY_LOG_LEVEL', env('SENTRY_LOGS_LEVEL', env('LOG_LEVEL', 'debug'))),
|
|
||||||
|
|
||||||
// @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#send_default_pii
|
|
||||||
'send_default_pii' => env('SENTRY_SEND_DEFAULT_PII', false),
|
|
||||||
|
|
||||||
// @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#ignore_exceptions
|
|
||||||
// 'ignore_exceptions' => [],
|
|
||||||
|
|
||||||
// @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#ignore_transactions
|
|
||||||
'ignore_transactions' => [
|
|
||||||
// Ignore Laravel's default health URL
|
|
||||||
'/up',
|
|
||||||
],
|
|
||||||
|
|
||||||
// Breadcrumb specific configuration
|
|
||||||
'breadcrumbs' => [
|
|
||||||
// Capture Laravel logs as breadcrumbs
|
|
||||||
'logs' => env('SENTRY_BREADCRUMBS_LOGS_ENABLED', true),
|
|
||||||
|
|
||||||
// Capture Laravel cache events (hits, writes etc.) as breadcrumbs
|
|
||||||
'cache' => env('SENTRY_BREADCRUMBS_CACHE_ENABLED', true),
|
|
||||||
|
|
||||||
// Capture Livewire components like routes as breadcrumbs
|
|
||||||
'admin' => env('SENTRY_BREADCRUMBS_LIVEWIRE_ENABLED', true),
|
|
||||||
|
|
||||||
// Capture SQL queries as breadcrumbs
|
|
||||||
'sql_queries' => env('SENTRY_BREADCRUMBS_SQL_QUERIES_ENABLED', true),
|
|
||||||
|
|
||||||
// Capture SQL query bindings (parameters) in SQL query breadcrumbs
|
|
||||||
'sql_bindings' => env('SENTRY_BREADCRUMBS_SQL_BINDINGS_ENABLED', false),
|
|
||||||
|
|
||||||
// Capture queue job information as breadcrumbs
|
|
||||||
'queue_info' => env('SENTRY_BREADCRUMBS_QUEUE_INFO_ENABLED', true),
|
|
||||||
|
|
||||||
// Capture command information as breadcrumbs
|
|
||||||
'command_info' => env('SENTRY_BREADCRUMBS_COMMAND_JOBS_ENABLED', true),
|
|
||||||
|
|
||||||
// Capture HTTP client request information as breadcrumbs
|
|
||||||
'http_client_requests' => env('SENTRY_BREADCRUMBS_HTTP_CLIENT_REQUESTS_ENABLED', true),
|
|
||||||
|
|
||||||
// Capture send notifications as breadcrumbs
|
|
||||||
'notifications' => env('SENTRY_BREADCRUMBS_NOTIFICATIONS_ENABLED', true),
|
|
||||||
],
|
|
||||||
|
|
||||||
// Performance monitoring specific configuration
|
|
||||||
'tracing' => [
|
|
||||||
// Trace queue jobs as their own transactions (this enables tracing for queue jobs)
|
|
||||||
'queue_job_transactions' => env('SENTRY_TRACE_QUEUE_ENABLED', true),
|
|
||||||
|
|
||||||
// Capture queue jobs as spans when executed on the sync driver
|
|
||||||
'queue_jobs' => env('SENTRY_TRACE_QUEUE_JOBS_ENABLED', true),
|
|
||||||
|
|
||||||
// Capture SQL queries as spans
|
|
||||||
'sql_queries' => env('SENTRY_TRACE_SQL_QUERIES_ENABLED', true),
|
|
||||||
|
|
||||||
// Capture SQL query bindings (parameters) in SQL query spans
|
|
||||||
'sql_bindings' => env('SENTRY_TRACE_SQL_BINDINGS_ENABLED', false),
|
|
||||||
|
|
||||||
// Capture where the SQL query originated from on the SQL query spans
|
|
||||||
'sql_origin' => env('SENTRY_TRACE_SQL_ORIGIN_ENABLED', true),
|
|
||||||
|
|
||||||
// Define a threshold in milliseconds for SQL queries to resolve their origin
|
|
||||||
'sql_origin_threshold_ms' => env('SENTRY_TRACE_SQL_ORIGIN_THRESHOLD_MS', 100),
|
|
||||||
|
|
||||||
// Capture views rendered as spans
|
|
||||||
'views' => env('SENTRY_TRACE_VIEWS_ENABLED', true),
|
|
||||||
|
|
||||||
// Capture Livewire components as spans
|
|
||||||
'admin' => env('SENTRY_TRACE_LIVEWIRE_ENABLED', true),
|
|
||||||
|
|
||||||
// Capture HTTP client requests as spans
|
|
||||||
'http_client_requests' => env('SENTRY_TRACE_HTTP_CLIENT_REQUESTS_ENABLED', true),
|
|
||||||
|
|
||||||
// Capture Laravel cache events (hits, writes etc.) as spans
|
|
||||||
'cache' => env('SENTRY_TRACE_CACHE_ENABLED', true),
|
|
||||||
|
|
||||||
// Capture Redis operations as spans (this enables Redis events in Laravel)
|
|
||||||
'redis_commands' => env('SENTRY_TRACE_REDIS_COMMANDS', false),
|
|
||||||
|
|
||||||
// Capture where the Redis command originated from on the Redis command spans
|
|
||||||
'redis_origin' => env('SENTRY_TRACE_REDIS_ORIGIN_ENABLED', true),
|
|
||||||
|
|
||||||
// Capture send notifications as spans
|
|
||||||
'notifications' => env('SENTRY_TRACE_NOTIFICATIONS_ENABLED', true),
|
|
||||||
|
|
||||||
// Enable tracing for requests without a matching route (404's)
|
|
||||||
'missing_routes' => env('SENTRY_TRACE_MISSING_ROUTES_ENABLED', false),
|
|
||||||
|
|
||||||
// Configures if the performance trace should continue after the response has been sent to the user until the application terminates
|
|
||||||
// This is required to capture any spans that are created after the response has been sent like queue jobs dispatched using `dispatch(...)->afterResponse()` for example
|
|
||||||
'continue_after_response' => env('SENTRY_TRACE_CONTINUE_AFTER_RESPONSE', true),
|
|
||||||
|
|
||||||
// Enable the tracing integrations supplied by Sentry (recommended)
|
|
||||||
'default_integrations' => env('SENTRY_TRACE_DEFAULT_INTEGRATIONS_ENABLED', true),
|
|
||||||
],
|
|
||||||
|
|
||||||
];
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
||||||
@props([
|
|
||||||
'url',
|
|
||||||
'color' => 'primary',
|
|
||||||
'align' => 'center',
|
|
||||||
])
|
|
||||||
<table class="action" align="{{ $align }}" width="100%" cellpadding="0" cellspacing="0" role="presentation">
|
|
||||||
<tr>
|
|
||||||
<td align="{{ $align }}">
|
|
||||||
<table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation">
|
|
||||||
<tr>
|
|
||||||
<td align="{{ $align }}">
|
|
||||||
<table border="0" cellpadding="0" cellspacing="0" role="presentation">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<a href="{{ $url }}" class="button button-{{ $color }}" target="_blank" rel="noopener">{!! $slot !!}</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<table class="footer" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation">
|
|
||||||
<tr>
|
|
||||||
<td class="content-cell" align="center">
|
|
||||||
{{ Illuminate\Mail\Markdown::parse($slot) }}
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
@props(['url'])
|
|
||||||
<tr>
|
|
||||||
<td class="header">
|
|
||||||
<a href="{{ $url }}" style="display: inline-block;">
|
|
||||||
@if (trim($slot) === 'Laravel')
|
|
||||||
<img src="https://laravel.com/img/notification-logo-v2.1.png" class="logo" alt="Laravel Logo">
|
|
||||||
@else
|
|
||||||
{!! $slot !!}
|
|
||||||
@endif
|
|
||||||
</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
@ -1,58 +0,0 @@
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
||||||
<head>
|
|
||||||
<title>{{ config('app.name') }}</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
||||||
<meta name="color-scheme" content="light">
|
|
||||||
<meta name="supported-color-schemes" content="light">
|
|
||||||
<style>
|
|
||||||
@media only screen and (max-width: 600px) {
|
|
||||||
.inner-body {
|
|
||||||
width: 100% !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer {
|
|
||||||
width: 100% !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (max-width: 500px) {
|
|
||||||
.button {
|
|
||||||
width: 100% !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
{!! $head ?? '' !!}
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<table class="wrapper" width="100%" cellpadding="0" cellspacing="0" role="presentation">
|
|
||||||
<tr>
|
|
||||||
<td align="center">
|
|
||||||
<table class="content" width="100%" cellpadding="0" cellspacing="0" role="presentation">
|
|
||||||
{!! $header ?? '' !!}
|
|
||||||
|
|
||||||
<!-- Email Body -->
|
|
||||||
<tr>
|
|
||||||
<td class="body" width="100%" cellpadding="0" cellspacing="0" style="border: hidden !important;">
|
|
||||||
<table class="inner-body" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation">
|
|
||||||
<!-- Body content -->
|
|
||||||
<tr>
|
|
||||||
<td class="content-cell">
|
|
||||||
{!! Illuminate\Mail\Markdown::parse($slot) !!}
|
|
||||||
|
|
||||||
{!! $subcopy ?? '' !!}
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
{!! $footer ?? '' !!}
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
||||||
<x-mail::layout>
|
|
||||||
{{-- Header --}}
|
|
||||||
<x-slot:header>
|
|
||||||
<x-mail::header :url="config('app.url')">
|
|
||||||
{{ config('app.name') }}
|
|
||||||
</x-mail::header>
|
|
||||||
</x-slot:header>
|
|
||||||
|
|
||||||
{{-- Body --}}
|
|
||||||
{!! $slot !!}
|
|
||||||
|
|
||||||
{{-- Subcopy --}}
|
|
||||||
@isset($subcopy)
|
|
||||||
<x-slot:subcopy>
|
|
||||||
<x-mail::subcopy>
|
|
||||||
{!! $subcopy !!}
|
|
||||||
</x-mail::subcopy>
|
|
||||||
</x-slot:subcopy>
|
|
||||||
@endisset
|
|
||||||
|
|
||||||
{{-- Footer --}}
|
|
||||||
<x-slot:footer>
|
|
||||||
<x-mail::footer>
|
|
||||||
© {{ date('Y') }} {{ config('app.name') }}. {{ __('All rights reserved.') }}
|
|
||||||
</x-mail::footer>
|
|
||||||
</x-slot:footer>
|
|
||||||
</x-mail::layout>
|
|
||||||
14
resources/views/vendor/mail/html/panel.blade.php
vendored
14
resources/views/vendor/mail/html/panel.blade.php
vendored
|
|
@ -1,14 +0,0 @@
|
||||||
<table class="panel" width="100%" cellpadding="0" cellspacing="0" role="presentation">
|
|
||||||
<tr>
|
|
||||||
<td class="panel-content">
|
|
||||||
<table width="100%" cellpadding="0" cellspacing="0" role="presentation">
|
|
||||||
<tr>
|
|
||||||
<td class="panel-item">
|
|
||||||
{{ Illuminate\Mail\Markdown::parse($slot) }}
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
<table class="subcopy" width="100%" cellpadding="0" cellspacing="0" role="presentation">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
{{ Illuminate\Mail\Markdown::parse($slot) }}
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
<div class="table">
|
|
||||||
{{ Illuminate\Mail\Markdown::parse($slot) }}
|
|
||||||
</div>
|
|
||||||
297
resources/views/vendor/mail/html/themes/default.css
vendored
297
resources/views/vendor/mail/html/themes/default.css
vendored
|
|
@ -1,297 +0,0 @@
|
||||||
/* Base */
|
|
||||||
|
|
||||||
body,
|
|
||||||
body *:not(html):not(style):not(br):not(tr):not(code) {
|
|
||||||
box-sizing: border-box;
|
|
||||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
|
|
||||||
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
-webkit-text-size-adjust: none;
|
|
||||||
background-color: #ffffff;
|
|
||||||
color: #52525b;
|
|
||||||
height: 100%;
|
|
||||||
line-height: 1.4;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
width: 100% !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
p,
|
|
||||||
ul,
|
|
||||||
ol,
|
|
||||||
blockquote {
|
|
||||||
line-height: 1.4;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: #18181b;
|
|
||||||
}
|
|
||||||
|
|
||||||
a img {
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Typography */
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
color: #18181b;
|
|
||||||
font-size: 18px;
|
|
||||||
font-weight: bold;
|
|
||||||
margin-top: 0;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: bold;
|
|
||||||
margin-top: 0;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: bold;
|
|
||||||
margin-top: 0;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
font-size: 16px;
|
|
||||||
line-height: 1.5em;
|
|
||||||
margin-top: 0;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
p.sub {
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Layout */
|
|
||||||
|
|
||||||
.wrapper {
|
|
||||||
-premailer-cellpadding: 0;
|
|
||||||
-premailer-cellspacing: 0;
|
|
||||||
-premailer-width: 100%;
|
|
||||||
background-color: #fafafa;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
|
||||||
-premailer-cellpadding: 0;
|
|
||||||
-premailer-cellspacing: 0;
|
|
||||||
-premailer-width: 100%;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Header */
|
|
||||||
|
|
||||||
.header {
|
|
||||||
padding: 25px 0;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header a {
|
|
||||||
color: #18181b;
|
|
||||||
font-size: 19px;
|
|
||||||
font-weight: bold;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Logo */
|
|
||||||
|
|
||||||
.logo {
|
|
||||||
height: 75px;
|
|
||||||
margin-top: 15px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
max-height: 75px;
|
|
||||||
width: 75px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Body */
|
|
||||||
|
|
||||||
.body {
|
|
||||||
-premailer-cellpadding: 0;
|
|
||||||
-premailer-cellspacing: 0;
|
|
||||||
-premailer-width: 100%;
|
|
||||||
background-color: #fafafa;
|
|
||||||
border-bottom: 1px solid #fafafa;
|
|
||||||
border-top: 1px solid #fafafa;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inner-body {
|
|
||||||
-premailer-cellpadding: 0;
|
|
||||||
-premailer-cellspacing: 0;
|
|
||||||
-premailer-width: 570px;
|
|
||||||
background-color: #ffffff;
|
|
||||||
border-color: #e4e4e7;
|
|
||||||
border-radius: 4px;
|
|
||||||
border-width: 1px;
|
|
||||||
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 0;
|
|
||||||
width: 570px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.inner-body a {
|
|
||||||
word-break: break-all;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Subcopy */
|
|
||||||
|
|
||||||
.subcopy {
|
|
||||||
border-top: 1px solid #e4e4e7;
|
|
||||||
margin-top: 25px;
|
|
||||||
padding-top: 25px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.subcopy p {
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Footer */
|
|
||||||
|
|
||||||
.footer {
|
|
||||||
-premailer-cellpadding: 0;
|
|
||||||
-premailer-cellspacing: 0;
|
|
||||||
-premailer-width: 570px;
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 0;
|
|
||||||
text-align: center;
|
|
||||||
width: 570px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer p {
|
|
||||||
color: #a1a1aa;
|
|
||||||
font-size: 12px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer a {
|
|
||||||
color: #a1a1aa;
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Tables */
|
|
||||||
|
|
||||||
.table table {
|
|
||||||
-premailer-cellpadding: 0;
|
|
||||||
-premailer-cellspacing: 0;
|
|
||||||
-premailer-width: 100%;
|
|
||||||
margin: 30px auto;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table th {
|
|
||||||
border-bottom: 1px solid #e4e4e7;
|
|
||||||
margin: 0;
|
|
||||||
padding-bottom: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table td {
|
|
||||||
color: #52525b;
|
|
||||||
font-size: 15px;
|
|
||||||
line-height: 18px;
|
|
||||||
margin: 0;
|
|
||||||
padding: 10px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.content-cell {
|
|
||||||
max-width: 100vw;
|
|
||||||
padding: 32px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Buttons */
|
|
||||||
|
|
||||||
.action {
|
|
||||||
-premailer-cellpadding: 0;
|
|
||||||
-premailer-cellspacing: 0;
|
|
||||||
-premailer-width: 100%;
|
|
||||||
margin: 30px auto;
|
|
||||||
padding: 0;
|
|
||||||
text-align: center;
|
|
||||||
width: 100%;
|
|
||||||
float: unset;
|
|
||||||
}
|
|
||||||
|
|
||||||
.button {
|
|
||||||
-webkit-text-size-adjust: none;
|
|
||||||
border-radius: 4px;
|
|
||||||
color: #fff;
|
|
||||||
display: inline-block;
|
|
||||||
overflow: hidden;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.button-blue,
|
|
||||||
.button-primary {
|
|
||||||
background-color: #18181b;
|
|
||||||
border-bottom: 8px solid #18181b;
|
|
||||||
border-left: 18px solid #18181b;
|
|
||||||
border-right: 18px solid #18181b;
|
|
||||||
border-top: 8px solid #18181b;
|
|
||||||
}
|
|
||||||
|
|
||||||
.button-green,
|
|
||||||
.button-success {
|
|
||||||
background-color: #16a34a;
|
|
||||||
border-bottom: 8px solid #16a34a;
|
|
||||||
border-left: 18px solid #16a34a;
|
|
||||||
border-right: 18px solid #16a34a;
|
|
||||||
border-top: 8px solid #16a34a;
|
|
||||||
}
|
|
||||||
|
|
||||||
.button-red,
|
|
||||||
.button-error {
|
|
||||||
background-color: #dc2626;
|
|
||||||
border-bottom: 8px solid #dc2626;
|
|
||||||
border-left: 18px solid #dc2626;
|
|
||||||
border-right: 18px solid #dc2626;
|
|
||||||
border-top: 8px solid #dc2626;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Panels */
|
|
||||||
|
|
||||||
.panel {
|
|
||||||
border-left: #18181b solid 4px;
|
|
||||||
margin: 21px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.panel-content {
|
|
||||||
background-color: #fafafa;
|
|
||||||
color: #52525b;
|
|
||||||
padding: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.panel-content p {
|
|
||||||
color: #52525b;
|
|
||||||
}
|
|
||||||
|
|
||||||
.panel-item {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.panel-item p:last-of-type {
|
|
||||||
margin-bottom: 0;
|
|
||||||
padding-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Utilities */
|
|
||||||
|
|
||||||
.break-all {
|
|
||||||
word-break: break-all;
|
|
||||||
}
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
{{ $slot }}: {{ $url }}
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
{{ $slot }}
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
{{ $slot }}: {{ $url }}
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
{!! strip_tags($header ?? '') !!}
|
|
||||||
|
|
||||||
{!! strip_tags($slot) !!}
|
|
||||||
@isset($subcopy)
|
|
||||||
|
|
||||||
{!! strip_tags($subcopy) !!}
|
|
||||||
@endisset
|
|
||||||
|
|
||||||
{!! strip_tags($footer ?? '') !!}
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
||||||
<x-mail::layout>
|
|
||||||
{{-- Header --}}
|
|
||||||
<x-slot:header>
|
|
||||||
<x-mail::header :url="config('app.url')">
|
|
||||||
{{ config('app.name') }}
|
|
||||||
</x-mail::header>
|
|
||||||
</x-slot:header>
|
|
||||||
|
|
||||||
{{-- Body --}}
|
|
||||||
{{ $slot }}
|
|
||||||
|
|
||||||
{{-- Subcopy --}}
|
|
||||||
@isset($subcopy)
|
|
||||||
<x-slot:subcopy>
|
|
||||||
<x-mail::subcopy>
|
|
||||||
{{ $subcopy }}
|
|
||||||
</x-mail::subcopy>
|
|
||||||
</x-slot:subcopy>
|
|
||||||
@endisset
|
|
||||||
|
|
||||||
{{-- Footer --}}
|
|
||||||
<x-slot:footer>
|
|
||||||
<x-mail::footer>
|
|
||||||
© {{ date('Y') }} {{ config('app.name') }}. @lang('All rights reserved.')
|
|
||||||
</x-mail::footer>
|
|
||||||
</x-slot:footer>
|
|
||||||
</x-mail::layout>
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
{{ $slot }}
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
{{ $slot }}
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
{{ $slot }}
|
|
||||||
Loading…
Add table
Reference in a new issue