Download the PHP package giannisftaras/speedex-api without Composer
On this page you can find all versions of the php package giannisftaras/speedex-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download giannisftaras/speedex-api
More information about giannisftaras/speedex-api
Files in giannisftaras/speedex-api
Package speedex-api
Short Description Use the Speedex WSDL SOAP API with PHP
License Apache-2.0
Homepage https://github.com/giannisftaras/speedex-api
Informations about the package speedex-api
Speedex SOAP API for PHP
Speedex is a Greek courier company. This package is a simple PHP handler for its SOAP API.
At the moment only the following features are supported:
- Get voucher data
- Check if the package has been delivered
- Check if the voucher is valid and present in the database
If you want more additions you can contact me or submit a feature request.
Installation:
Prerequisites:
You need to have enabled the SOAP module on your server. To enable it:
- Edit the php.ini file and uncomment the
;extension=soap
line - Restart the PHP-FPM service and Apache server
There are two ways to install the package.
1. With composer:
2. Manually:
Download this repository, extract the zip file and include the SpeedexAPI.php
file, as seen in the tests.
Usage
Configuration
The API works directly out of the box as is, but if you want you can specify some options.
Available options:
configuration | options | Type | Description | Default |
---|---|---|---|---|
cache | 0-3 | Integer | Specify the WSDL cache level with a integer | 2 'WSDL_CACHE_MEMORY' |
timeout | 0-100 | Integer | Timeout in seconds if the server does not respond | 5 |
exceptions | true, false | Boolean | Show or hide server side exceptions | true |