AMP Magento 1.x SOAP Client
⚠️ This repo is unmaintained ⚠️, (*1)
, (*2)
This is an asyncronous Magento 1.x SOAP client powered by Amp and clue/soap-react client., (*3)
Installation
Use Composer require:, (*4)
composer require webgriffe/amp-magento-soap-client
Usage / Example
<?php
require_once 'vendor/autoload.php';
\Amp\Loop::run(function () {
/** @var \Webgriffe\AmpMagentoSoapClient\Client $client */
$client = yield (new \Webgriffe\AmpMagentoSoapClient\Factory(
'http://magento.host/api/soap/?wsdl',
'username',
'password',
'8.8.8.8' // Optional nameserver IP
))->create();
yield $client->login();
$result = yield $client->call('catalog_product.list', []);
var_dump($result);
});
License
This library is under the MIT license. See the complete license in the LICENSE file., (*5)
Credits
Developed by Webgriffe®., (*6)