A Kimai 2 plugin, which allows to use github-api to connecto to github or similar.
First clone it to your Kimai installation plugins
directory:
cd /kimai/var/plugins/
git clone https://github.com/Bjoern3003/github-api-bundle.git
And then rebuild the cache:
cd /kimai/
bin/console cache:clear
bin/console cache:warmup
You could also download it as zip and upload the directory via FTP:
/kimai/var/plugins/
├── GithubApiBundle
│ ├── GithubApiBundle.php
| └ ... more files and directories follow here ...
Now you are able to configure your Github Client in your Kimai Systemconfig Backend.
But you aren't required to configure this Bundle. It will also work with the defaults (Only connect to public repositorys).
You can use your Client for example in Controller Files.
Declare your Instance with GithubClient $client
in your method.
And then you can call your repositorys for example with: $client->api('user')->myRepositories();
Please refer this docummentation for for informations: https://github.com/KnpLabs/php-github-api
See LICENSE.txt. Don't worry, it's the MIT license.