webgriffe / amp-magento-soap-client
This package is abandoned and no longer maintained.
No replacement package was suggested.
An async Magento 1.x SOAP client to be used with Amphp framework
1.0.0
2018-02-24 10:37 UTC
Requires
- php: >=7
- amphp/amp: ^2.0
- amphp/react-adapter: ^1.1
- clue/soap-react: ^0.2.0
Requires (Dev)
- amphp/phpunit-util: ^1.0
- phpunit/phpunit: ^6.5
- squizlabs/php_codesniffer: ^3.2
This package is auto-updated.
Last update: 2022-10-19 09:47:09 UTC
README
⚠️ This repo is unmaintained ⚠️
This is an asyncronous Magento 1.x SOAP client powered by Amp and clue/soap-react client.
Installation
Use Composer require:
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.
Credits
Developed by Webgriffe®.