Files
Php-Template/server.php
Ron Rise 8ccaaadf03
All checks were successful
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 3m6s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 3m25s
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 3m27s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 3m18s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 3m16s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 1m50s
feat: refactor server structure and introduce CLI application
2025-11-11 09:30:20 -05:00

18 lines
276 B
PHP

<?php
use Siteworxpro\App\Api;
require __DIR__ . '/vendor/autoload.php';
try {
// Instantiate the ExternalServer class
$server = new Api();
// Start the server
$server->startServer();
} catch (JsonException $e) {
echo $e->getMessage();
exit(1);
}