szonov/laravel-redmine

Laravel wrapper for the Redmine API

v1.0.2 2024-04-06 01:46 UTC

This package is auto-updated.

Last update: 2024-04-06 01:49:49 UTC


README

Laravel wrapper for the Redmine API. https://github.com/kbsali/php-redmine-api

Installation

  1. install package

composer require szonov/laravel-redmine

  1. publish config file

php artisan vendor:publish --provider "SZonov\Redmine\RedmineServiceProvider"

  1. update config stored in config/redmine.php.

Usage

  1. using facades
use SZonov\Redmine\Facades\Redmine;

dump(Redmine::user()->all());
dump(Redmine::host('other')->user()->all());
  1. using app helper
dump(app('redmine')->user()->all());
dump(app('redmine')->host('other')->user()->all());