<commit_before># PHP Redmine API

A simple Object Oriented wrapper for Redmine API, written with PHP5.

Uses [Redmine API](http://www.redmine.org/projects/redmine/wiki/Rest_api/).

## Features

* Follows PSR-0 conventions and coding standard: autoload friendly
* API entry points implementation state :
 * OK Attachments
 * *NOK Groups*
 * OK Issues
 * OK Issue Categories
 * *NOK Issue Relations*
 * OK Issue Statuses
 * OK News
 * OK Projects
 * *NOK Project Memberships*
 * OK Queries
 * OK Roles
 * OK Time Entries
 * OK Trackers
 * OK Users
 * OK Versions

## Requirements

* PHP >= 5.3.2 with [cURL](http://php.net/manual/en/book.curl.php) extension,

## Autoload

The first step to use `php-redmine-api` is to download composer:

```bash
$ curl -s http://getcomposer.org/installer | php
```

Then create a composer.json file in the root of your project:

```yaml
{
    "require": {
        "kbsali/redmine-api": "*"
    },
    "minimum-stability": "dev"
}
```

... and install your dependencies using:
```bash
$ php composer.phar install
```

## Basic usage of `php-redmine-api` client

```php
<?php

// This file is generated by Composer
require_once 'vendor/autoload.php';

$client = new Redmine\Client('http://redmine.example.com', '1234567890abcdfgh');

$client->api('user')->all();
$client->api('user')->listing();

$client->api('issue')->create(array(
    'project_id'  => 'test',
    'subject'     => 'some subject',
    'description' => 'a long description blablabla',
    'assigned_to' => 'user1',
));
```

see `example.php`

### Contributors

- Thanks to [<NAME>](http://tspycher.com/2011/03/using-the-redmine-api-with-php/) for the 1st version of the class.
- Thanks to [<NAME> aka. ornicar](https://github.com/ornicar) for his the php-github-api library too (i would like to update this library following php-github-api's steps)!<commit_msg>readme take 2<commit_after># PHP Redmine API

A simple Object Oriented wrapper for Redmine API, written with PHP5.

Uses [Redmine API](http://www.redmine.org/projects/redmine/wiki/Rest_api/).

## Features

* Follows PSR-0 conventions and coding standard: autoload friendly
* API entry points implementation state :
 * OK Attachments
 * *NOK Groups*
 * OK Issues
 * OK Issue Categories
 * *NOK Issue Relations*
 * OK Issue Statuses
 * OK News
 * OK Projects
 * *NOK Project Memberships*
 * OK Queries
 * OK Roles
 * OK Time Entries
 * OK Trackers
 * OK Users
 * OK Versions

## Requirements

* PHP >= 5.3.2 with [cURL](http://php.net/manual/en/book.curl.php) extension,

## Autoload

The first step to use `php-redmine-api` is to download composer:

```bash
$ curl -s http://getcomposer.org/installer | php
```

Then create a composer.json file in the root of your project:

```yaml
{
    "require": {
        "kbsali/redmine-api": "*"
    },
    "minimum-stability": "dev"
}
```

... and install your dependencies using:
```bash
$ php composer.phar install
```

## Basic usage of `php-redmine-api` client

```php
<?php

// This file is generated by Composer
require_once 'vendor/autoload.php';

$client = new Redmine\Client('http://redmine.example.com', '1234567890abcdfgh');

$client->api('user')->all();
$client->api('user')->listing();

$client->api('issue')->create(array(
    'project_id'  => 'test',
    'subject'     => 'some subject',
    'description' => 'a long description blablabla',
    'assigned_to' => 'user1',
));
```

see `example.php`

### Contributors

- Thanks to [<NAME>](http://tspycher.com/2011/03/using-the-redmine-api-with-php/) for the 1st version of the class.
- Thanks to [<NAME> aka. ornicar](https://github.com/ornicar) for the php-github-api library, great source of inspiration!

{'fraction_non_alphanumeric': 0.15363661127758105, 'fraction_numerical': 0.01280305093979842, 'mean_word_length': 3.8188976377952755, 'pattern_counts': {'":': 6, '<': 9, '<?xml version=': 0, '>': 29, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3897189', 'n_tokens_mistral': 1304, 'n_tokens_neox': 1219, 'n_words': 357}