2017 © Pedro Peláez
 

library jira-addon

jira add on for laravel

image

bss/jira-addon

jira add on for laravel

  • Tuesday, October 17, 2017
  • by loiphamvn
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Requirements

Installation

  1. Download and Install PHP Composer., (*1)

    sh curl -sS https://getcomposer.org/installer | php, (*2)

  2. Next, run the Composer command to install the latest version of php jira rest client. ``` sh php composer.phar require bss/jira-addon "^0.1", (*3)

    or add the following to your composer.json file.
    ```json
    {
       "require": {
           "bss/jira-addon": "^0.1"
       }
    }
    
  3. Then run Composer's install or update commands to complete installation., (*4)

    php composer.phar install
    
  4. After installing, you need to require Composer's autoloader:, (*5)

    require 'vendor/autoload.php';
    

Configuration

you can choose loads environment variables either 'dotenv' or 'array'., (*6)

use dotenv

copy .env.example file to .env on your project root., (*7)

JIRA_HOST="https://your-jira.host.com"
JIRA_USER="jira-username"
JIRA_PASS="jira-password"

important-note: If you are using previous versions(a prior v1.2), you should move config.jira.json to .env and will edit it., (*8)

If you are developing with laravel framework(5.x), you must append above configuration to your application .env file., (*9)

use array

create Service class with ArrayConfiguration parameter., (*10)

use JiraRestApi\Configuration\ArrayConfiguration;
use JiraRestApi\Issue\IssueService;

$iss = new IssueService(new ArrayConfiguration(
          array(
               'jiraHost' => 'https://your-jira.host.com',
               'jiraUser' => 'jira-username',
               'jiraPassword' => 'jira-password',
          )
   ));

The Versions

17/10 2017

dev-master

9999999-dev

jira add on for laravel

  Sources   Download

MIT

The Requires

 

by bss dev

laravel

17/10 2017

v0.1.1

0.1.1.0

jira add on for laravel

  Sources   Download

MIT

The Requires

 

by bss dev

laravel

16/10 2017

dev-develop

dev-develop

jira add on for laravel

  Sources   Download

The Requires

 

by bss dev

16/10 2017

v0.1

0.1.0.0

jira add on for laravel

  Sources   Download

The Requires

 

by bss dev