scn / evalanche-soap-api-connector
Official PHP client for Evalanche SOAP API
Installs: 139 063
Dependents: 1
Suggesters: 0
Security: 0
Stars: 5
Watchers: 8
Forks: 8
Open Issues: 0
Requires
- php: >=7.2
- ext-soap: *
- scn/evalanche-soap-api-struct: ^2.0
- scn/hydrator: ^2|^3
- scn/hydrator-property-values: ^2.0|^3.0
Requires (Dev)
- php: >=7.3
- friendsofphp/php-cs-fixer: ^3.0
- phpstan/phpstan: ^1.4
- phpstan/phpstan-strict-rules: ^1.1
- phpunit/phpunit: ^9
- dev-master
- 1.x-dev
- v1.13.0
- v1.11.0
- v1.10.1
- v1.10.0
- v1.9.1
- v1.9.0
- v1.8.1
- v1.8.0
- v1.7.2
- v1.7.1
- v1.7.0
- v1.6.0
- v1.5.0
- 1.4.x-dev
- v1.4.4
- v1.4.3
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.0
- v1.2.0
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.0
- v0.1.8
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1
- dev-feature/add-lastmodified-to-resourceinformation
This package is auto-updated.
Last update: 2024-04-26 06:56:55 UTC
README
Install
Via Composer
$ composer require scn/evalanche-soap-api-connector
PHP-Support
Connector-Version/Branch | PHP-Version(s) |
---|---|
1.x | 7.2, 7.3, 7.4, 8.0, 8.1 |
master | 8.1, 8.2 |
Usage
General
First create a connection with the access credentials provided by SC-Networks.
require 'vendor/autoload.php'; $connection = \Scn\EvalancheSoapApiConnector\EvalancheConnection::create( 'given host', 'given username', 'given password' );
Then create the client of your choice e.g. FormClient
$statistic = $connection->createFormClient()->getStatistics(123, false);
Work with the results
$statistic->getImpressions()
Most of the methods will require/return structs which are defined and described in the struct repository.
Custom soapclient settings
EvalancheConnection::create
allows to set custom settings
for phps soap client. Please note that some options are predefined with meaningful values and cannot
be changed.
$connection = \Scn\EvalancheSoapApiConnector\EvalancheConnection::create( 'given host', 'given username', 'given password', false, [ 'keep_alive' => false, ] );
Method Documentation
Can be found here. Detailled information about the calls can be found in the API documentation.
Testing
$ composer test
License
The MIT License (MIT). Please see License File for more information.