Setzt Phase 1 aus Visualization.md um: Vanilla-PHP-REST-API mit SQLite-Persistenz, statischen API-Keys pro Agent, Codeberg-Sync fuer Backlog/Done, PHPUnit-Tests und vollstaendiger API.md-Dokumentation - Vorgaben aus Detailantworten.md (F1-F16) umgesetzt. Entwicklung/Build/Test laufen komplett in Docker-Compose-Containern (PHP 8.2 + SQLite + Composer + PHPUnit/pcov), analog zum NC-Gantt-Projekt ist auf dem Host kein PHP/Composer noetig. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
30 lines
737 B
JSON
30 lines
737 B
JSON
{
|
|
"name": "fds2610/monitor-api",
|
|
"description": "REST-API fuer die Buero-Visualisierung von monitor (Tickets, Events, Systeme, KPIs, Agenten)",
|
|
"type": "project",
|
|
"license": "proprietary",
|
|
"require": {
|
|
"php": ">=8.1",
|
|
"ext-pdo": "*",
|
|
"ext-pdo_sqlite": "*",
|
|
"ext-json": "*",
|
|
"ext-curl": "*"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^10.5"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Monitor\\Api\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Monitor\\Api\\Tests\\": "tests/Unit/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": "phpunit --coverage-text",
|
|
"serve": "php -S 0.0.0.0:8080 -t public"
|
|
}
|
|
}
|