PHP code example of webservices-nl / platform-connector
1. Go to this page and download the library: Download webservices-nl/platform-connector library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
webservices-nl / platform-connector example snippets
// Instantiate a ConnectorFactory with your given Webservices.nl credentials.
$factory = ConnectorFactory::build(
[
'username' => 'myusername',
'password' => 'secret'
],
LoggerInterface (optional)
);
// build a client
$client = $factory->create('soap', 'webservices');
// make type hinted function calls to any of the Webservices.nl API's
$response = $client->accountEditV2();