Download the PHP package swiftyper/swiftyper-php without Composer
On this page you can find all versions of the php package swiftyper/swiftyper-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download swiftyper/swiftyper-php
More information about swiftyper/swiftyper-php
Files in swiftyper/swiftyper-php
Package swiftyper-php
Short Description swiftyper PHP Library
License MIT
Homepage https://swiftyper.sk/
Informations about the package swiftyper-php
Swiftyper PHP
Documentation
swiftyper-php
API documentation for PHP.
Requirements
PHP 5.6.0+.
Composer
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.
Usage
Before you start using it, you need to set the API key which you can manage through your user account.
API keys are unlimited by default. Unlimited keys are not safe because they can be used by anyone and from anywhere. For production applications, we recommend setting API key restrictions as they help prevent unauthorized use and exhaustion of quotas. Restrictions determine which websites or IP addresses can use the API key.
Accessing the Response of a Request
You can get the data from the API response on any object through the getLastResponse()
method.
Configuring Automatic Retries
It is possible to configure the library to retry a certain number of times in case of a request failure. This is useful when you want to make sure that a request is successfully processed even in case of a network failure.
All versions of swiftyper-php with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *