webgriffe / amp-magento-soap-client
An async Magento 1.x SOAP client to be used with Amphp framework
Installs: 304
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
pkg:composer/webgriffe/amp-magento-soap-client
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®.