Download the PHP package reprostar/mpcl-connector-php without Composer
On this page you can find all versions of the php package reprostar/mpcl-connector-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download reprostar/mpcl-connector-php
More information about reprostar/mpcl-connector-php
Files in reprostar/mpcl-connector-php
Package mpcl-connector-php
Short Description PHP library for the MyPCList API
License MIT
Homepage https://mypclist.net
Informations about the package mpcl-connector-php
MyPCList API connector library for PHP
Official implementation of MyPCList V1 API connector, compatible with PHP 5.6 and later. This library contains a connector class used to communicate with an endpoint and classes for all API-accessible MPCL entities.
Installation
Package can be easily installed via Composer:
Authentication
In the legacy version of MyPCList, the API credentials were split into separate key and token. In the future version of the API there will be a single-string token for authorization, so usage of separate credentials is now discouraged.
The new format of API_TOKEN consists of key and token, joined by a colon ':', for example:
This combined token can be used as a first argument for MpclConnector or passed through 'api_token' parameter.
Sample usage
Documentation of calls and models
This library is a wrapper for MyPCList V1 API. For more detailed documentation of the API, please refer to the official documentation, available at https://mypclist.net/apidocs. For usage of specific methods, please refer to PHPDoc comments in the source code.
All versions of mpcl-connector-php with dependencies
ext-json Version *
ext-curl Version *