<?php
use Illuminate\Support\Facades\Blade;

require __DIR__ . '/../vendor/autoload.php';
$app = require_once __DIR__ . '/../bootstrap/app.php';
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
$kernel->bootstrap();

$blade = app('blade.compiler');
$aliases = $blade->getClassComponentAliases();
ksort($aliases);
foreach ($aliases as $alias => $class) {
    if (str_contains($alias, 'form') || str_contains($alias, 'action') || str_contains($alias, 'panel')) {
        echo "$alias => $class\n";
    }
}
