kimai / www.kimai.org

Website for the Kimai time-tracker
https://www.kimai.org
GNU Affero General Public License v3.0
18 stars 86 forks source link

Outdated doku of plugin development #275

Closed PascalHoenisch closed 1 year ago

PascalHoenisch commented 1 year ago

The documentation seems to be outdated for Kimai2.

E.g. the doku states that a composer.json file with the following part should be created and no string for v2 of kimai. "extra": { "kimai": { "require": "1.3", "name": "YourBundle" } } However for require the number 2000 should be used as further explained.

Trying to create a plugin with this guide failed for me. I only managed to create one while reconstructing from the DemoBundle. For me this means the guide is partly outdated.

kevinpapst commented 1 year ago

Yes, that is correct, thanks for creating the issue.

If anyone wants to help improve the docs, PRs are welcome 👍

kevinpapst commented 1 year ago

Fixed the composer part and added info about FileHelper