You've already forked Php-Template
All checks were successful
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 1m53s
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 2m4s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 2m7s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 1m57s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 2m44s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 52s
🏗️✨ Build Workflow / 🖥️ 🔨 Build (push) Successful in 3m13s
Reviewed-on: #4 Co-authored-by: Ron Rise <ron@siteworxpro.com> Co-committed-by: Ron Rise <ron@siteworxpro.com>
18 lines
282 B
PHP
18 lines
282 B
PHP
<?php
|
|
|
|
use Siteworxpro\App\Server;
|
|
|
|
require __DIR__ . '/vendor/autoload.php';
|
|
|
|
try {
|
|
// Instantiate the ExternalServer class
|
|
$server = new Server();
|
|
|
|
// Start the server
|
|
$server->startServer();
|
|
} catch (JsonException $e) {
|
|
echo $e->getMessage();
|
|
|
|
exit(1);
|
|
}
|