macropage / sdk-php-speed4trade
v1.1
2023-11-23 15:42 UTC
Requires
- php: ^8.2
- guzzlehttp/guzzle: ^7.5
- php-http/client-common: ^2.6
- php-http/discovery: ^1.14
- php-http/logger-plugin: ^1.3
- php-soap/psr18-transport: ^1.3
- phpro/soap-client: ^2.3
Requires (Dev)
- laminas/laminas-code: ^4.8
This package is auto-updated.
Last update: 2025-01-23 19:12:21 UTC
README
A SOAP PHP SDK to use with the Speed4Trade Soap API
Installation
composer require macropage/sdk-php-speed4trade
How to use it
<?php use macropage\SDKs\speed4trade\Speed4TradeClientFactory; use macropage\SDKs\speed4trade\Type\FetchMandators; require_once __DIR__ . '/vendor/autoload.php'; $client = Speed4TradeClientFactory::factory( wsdl : 'speed4trade.wsdl', proxies : [ 'http' => '.......', 'https' => '........', ], username: '.......', password: '.......' logger: new \Psr\Log\NullLogger() ); $request = new FetchMandators('<request method="fetchMandators" version="1.0.0"></request>'); $return = $client->fetchMandators($request); print_r($return);