silwerclaw/jirapi

There is no license information available for the latest version (dev-master) of this package.

PHP Jira REST API client

dev-master 2016-08-09 10:55 UTC

This package is not auto-updated.

Last update: 2024-09-28 19:52:21 UTC


README

Build Status

PHP Jira Rest API client for Laravel 5.1, 5.2 that includes wrapper on both Jira Cloud and Jira Software API`s.

Installation

composer require silwerclaw/jirapi

After that register plugin Service Provider adding line to your app.php file to providers list:

\Silwerclaw\Jirapi\JirapiServiceProvider::class, 

You can also register facade adding line to your app.php file to aliases list:

'Jirapi' => \Silwerclaw\Jirapi\Facades\Jirapi::class,

Configuration

You can configure plugin in two ways:

Add to your .env file variables with correct credentials

JIRA_HOST=
JIRA_LOGIN=
JIRA_PASSWORD=

Alternatively you can publish plugin config file with

php artisan vendor:publish --provider="Silwerclaw\Jirapi\JirapiServiceProvider"

After that go to your config folder and edit fields with host, login and password with your values

Beware that for most of actions your account in Jira must be granted with appropriate access rights!

Package usage

Please check WIKI pages for different use cases and examples