fix: restore root-level PHP dirs for Kimai PSR-4 autoloading

Kimai's autoloader maps KimaiPlugin\ => var/plugins/, so plugin classes
must live at the bundle root, not under src/.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Christopher Mühl 2026-04-09 10:38:40 +02:00
parent 3d56f57591
commit 949d318ecb
No known key found for this signature in database
GPG key ID: 925AC7D69955293F

View file

@ -3,6 +3,17 @@
"type": "kimai-plugin",
"description": "GitHub-style activity heatmap dashboard widget for Kimai",
"license": "MIT",
"keywords": ["kimai", "plugin", "heatmap", "dashboard", "time-tracking"],
"homepage": "https://git.toph.so/toph/kimai-plugin-heatmap",
"authors": [
{
"name": "Christopher Mühl",
"homepage": "https://toph.so"
}
],
"require": {
"php": ">=8.2"
},
"autoload": {
"psr-4": {
"KimaiPlugin\\KimaiHeatmapBundle\\": ""