- Add comprehensive health check system with multiple endpoints - Add Prometheus metrics endpoint - Add production logging configurations (5 strategies) - Add complete deployment documentation suite: * QUICKSTART.md - 30-minute deployment guide * DEPLOYMENT_CHECKLIST.md - Printable verification checklist * DEPLOYMENT_WORKFLOW.md - Complete deployment lifecycle * PRODUCTION_DEPLOYMENT.md - Comprehensive technical reference * production-logging.md - Logging configuration guide * ANSIBLE_DEPLOYMENT.md - Infrastructure as Code automation * README.md - Navigation hub * DEPLOYMENT_SUMMARY.md - Executive summary - Add deployment scripts and automation - Add DEPLOYMENT_PLAN.md - Concrete plan for immediate deployment - Update README with production-ready features All production infrastructure is now complete and ready for deployment.
28 lines
921 B
PHP
28 lines
921 B
PHP
<?php
|
|
require '/var/www/html/vendor/autoload.php';
|
|
require '/var/www/html/public/index.php';
|
|
|
|
// Get container from global scope
|
|
$container = $GLOBALS['container'] ?? null;
|
|
if (!$container) {
|
|
echo "ERROR: Container not available\n";
|
|
exit(1);
|
|
}
|
|
|
|
try {
|
|
$discoveryRegistry = $container->get('App\Framework\Discovery\Results\DiscoveryRegistry');
|
|
$liveComponents = $discoveryRegistry->attributes()->get('App\Framework\LiveComponents\Attributes\LiveComponent');
|
|
|
|
echo "Found " . count($liveComponents) . " LiveComponent(s)\n\n";
|
|
|
|
foreach ($liveComponents as $discovered) {
|
|
$attr = $discovered->createAttributeInstance();
|
|
if ($attr) {
|
|
echo "✓ " . $attr->name . " => " . $discovered->className->toString() . "\n";
|
|
}
|
|
}
|
|
} catch (Throwable $e) {
|
|
echo "ERROR: " . $e->getMessage() . "\n";
|
|
echo "File: " . $e->getFile() . ":" . $e->getLine() . "\n";
|
|
}
|