Download the PHP package northern-lights/polr-client without Composer
On this page you can find all versions of the php package northern-lights/polr-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package polr-client
Polr API Client
Introduction
REST API client written in PHP for cydrobolt/polr
Provides simple interface for interaction with Polr instances
Usage
Very minimal example, using default configuration
For more detailed examples and configuration, please take a look in examples. All use scenarios are covered.
- configuration
- lookup [/api/v2/action/lookup]
- shorten [/api/v2/action/shorten]
- shorten_bulk [/api/v2/action/shorten_bulk]
- data [/api/v2/data/link]
Installation
The recommended way to install is via Composer:
Alternatively, you can download latest stable version from releases.
Please note that this library doesn't ship with autoloader, but relies on Composer internal autoloader.
Industry standards and best practices
Library strives to comply with latest standards and best practices in the industry therefore we included
PSR-2 coding standard Compliance check & fix
We want the code to be as good as it is possible
Note: Second command will actually modify files
Code syntax check (lint)
Very basic check which saves us the trouble
Static Code Analysis
So we catch bugs early.
Unit testing
So we make sure that all moving parts are running smoothly
TODO
- Implement shorten_bulk [/api/v2/action/shorten_bulk]
- Add Unit tests
- Add detailed API documentation
Disclaimer
This project or it's authors are not affiliated with the Polr Project or any third party.
License
The MIT License (MIT). Please see License File for more information.
All versions of polr-client with dependencies
ext-json Version *
guzzlehttp/guzzle Version ^6.3
illuminate/support Version ^5.5
psr/http-message Version ^1.0
symfony/serializer Version ^4.2
zendframework/zend-config Version ^3.2