PHPackages                             plotkabytes/redlink-api-php-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. plotkabytes/redlink-api-php-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

plotkabytes/redlink-api-php-client
==================================

Redlink API client for PHP

1.0.1(1y ago)16.7k—4.5%11MITPHPPHP ^7.2.5 || ^8.0CI failing

Since May 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/plotkabytes/redlink-api-php-client)[ Packagist](https://packagist.org/packages/plotkabytes/redlink-api-php-client)[ RSS](/packages/plotkabytes-redlink-api-php-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (23)Versions (3)Used By (1)

Redlink PHP API Client
======================

[](#redlink-php-api-client)

[![Build and tests](https://github.com/plotkabytes/redlink-api-php-client/actions/workflows/ci.yml/badge.svg)](https://github.com/plotkabytes/redlink-api-php-client/actions/workflows/ci.yml/badge.svg)[![GitHub license](https://camo.githubusercontent.com/dcfd4525b3e95551691fd645e2123a32a45c957703d551bb36ed0aa0f2a116ed/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f4e61657265656e2f5374726170446f776e2e6a732e737667)](https://github.com/plotkabytes/redlink-api-php-client/blob/main/LICENSE)[![PRs Welcome](https://camo.githubusercontent.com/25b3e6d0d42c98de74a98cbb4d149a1c09020cf6d1361993b72d7d5b8ffed363/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5052732d77656c636f6d652d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](http://makeapullrequest.com)

We present simple [RedlinkAPI v2.1](https://docs.redlink.pl/) client for PHP.

This client is strongly based on [GitLab PHP API Client](https://github.com/GitLabPHP/Client).

Check out the:

[Change log](CHANGELOG.md)

[License](LICENSE)

Installation
------------

[](#installation)

This version supports [PHP](https://php.net) &gt;= 7.2. To get started, simply require the project using [Composer](https://getcomposer.org). You will also need to install packages that " provide" [`psr/http-client-implementation`](https://packagist.org/providers/psr/http-client-implementation)and [`psr/http-factory-implementation`](https://packagist.org/providers/psr/http-factory-implementation).

### Standard Installation

[](#standard-installation)

To install the client, you will need to be using Composer in your project. Here's how to install composer:

```
curl -sS https://getcomposer.org/installer | php
```

After getting composer you have to install two packages - this repository and PSR HTTP client implementation (for example [Guzzle](https://github.com/guzzle/guzzle) / [Buzz](https://github.com/kriswallsmith/Buzz)):

```
$ composer require plotkabytes/redlink-api-php-client guzzlehttp/guzzle
```

This project is using following PSR's:

- [PSR-7](https://www.php-fig.org/psr/psr-7/)
- [PSR-17](https://www.php-fig.org/psr/psr-17/)
- [PSR-18](https://www.php-fig.org/psr/psr-18/)
- [HTTPlug](https://httplug.io/)

General library usage
---------------------

[](#general-library-usage)

Example script:

```
