You've already forked Php-Template
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
18 lines
276 B
PHP
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);
|
|
}
|