johnstyle/redmine-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

RedmineBundle

v1.0.1 2018-02-19 18:38 UTC

This package is auto-updated.

Last update: 2024-10-11 12:11:10 UTC


README

Implement Redmine client https://github.com/kbsali/php-redmine-api to Symfony service.

Configuration

Enable the bundle in app/AppKernel.php file:

$bundles = [
    // existing bundles
    new Johnstyle\RedmineBundle\JohnstyleRedmineBundle(),
]

Add the following minimal configuration in app/config/config.yml

johnstyle_redmine:
    url: '%redmine.url%'
    token: '%redmine.token%'

Usage

$client = $this->container->get('johnstyle.redmine_client')->client();
$client->user->listing();

View kbsali/php-redmine-api documentation for more example.