Skip to content

A Kimai 2 plugin, which allows to use github-api to connec to to github or similar.

License

Notifications You must be signed in to change notification settings

Bjoern3003/github-api-bundle

Repository files navigation

GithubApiBundle Build Status

A Kimai 2 plugin, which allows to use github-api to connecto to github or similar.

Installation

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 ... 

Configuration

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).

Usage

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

License

See LICENSE.txt. Don't worry, it's the MIT license.

About

A Kimai 2 plugin, which allows to use github-api to connec to to github or similar.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages