Download the PHP package blogui91/srpago-php without Composer
On this page you can find all versions of the php package blogui91/srpago-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download blogui91/srpago-php
More information about blogui91/srpago-php
Files in blogui91/srpago-php
Package srpago-php
Short Description SrPago PHP Library
License MIT
Homepage https://srpago.com/
Informations about the package srpago-php
SrPago PHP bindings
You can sign up for a SrPago account at https://www.srpago.com.
Requirements
PHP 5.3.3 and later.
Composer - Installation
You can install the bindings via Composer. Run the following command:
To use the bindings, use Composer's autoload:
Manual - Installation
If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the init.php
file.
Dependencies
The bindings require the following extension in order to work properly:
If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.
Getting Started
Simple usage looks like:
Documentation
Please see https://srpago.com/docs/api for up-to-date documentation.
Legacy Version Support
If you are using PHP 5.2, you can download v1.18.0 (zip, tar.gz) from our releases page. This version will continue to work with new versions of the SrPago API for all common uses.
This legacy version may be included via require_once("/path/to/srpago-php/lib/SrPago.php");
, and used like:
Development
Install dependencies:
SSL / TLS configuration option
See the "SSL / TLS compatibility issues" paragraph above for full context. If you want to ensure that your plugin can be used on all systems, you should add a configuration option to let your users choose between different values for CURLOPT_SSLVERSION
: none (default), CURL_SSLVERSION_TLSv1
and CURL_SSLVERSION_TLSv1_2
.
All versions of srpago-php with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *
tcdent/php-restclient Version *