Download the PHP package smalot/magento-client without Composer
On this page you can find all versions of the php package smalot/magento-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download smalot/magento-client
More information about smalot/magento-client
Files in smalot/magento-client
Package magento-client
Short Description Magento API Client (SOAP v1). Allows wrappers for each call, dependency injections and code completion.
License MIT
Informations about the package magento-client
Magento API Client
This library implements the Magento SOAP v1 (standard) API.
Features:
- allows wrappers
- allows dependencies injections
- allows code completion
- auto-updated via composer packaging (packagist.org)
Note: This library is not related to Magento Company.
Documentation
This API is designed on top of Magento SOAP API V1.
Supported modules are :
- Mage_Catalog
- Mage_CatalogInventory
- Mage_Checkout
- Mage_Customer
- Mage_Directory
- Mage_Sales
- Enterprise_CustomerBalance
- Enterprise_CustomerGiftCard
- Mage_GiftMessage
- Mage_Core
- Store View
Module's names has been standardized to be more clean :
- Catalog
- CatalogInventory
- Cart
- Customer
- Directory
- Order
- CustomerBalance
- GiftCard
- GiftMessage
- Core
- Store
Note : login and logout calls are made only if needed.
Installation
Download using composer:
Now tell composer to download the bundle by running the command:
Composer will install the bundle to your project's vendor/smalot directory and create/update an autoload file.
License
This library is provided under MIT license (since v0.5.0 release). See the complete license :
LICENSE
Implementation
Each module manager, which heritate from MagentoModuleAbstract, will generate an action.
Actions can be either directly executed or added to a queue.
If it is directly executed, it will generate a single call, if not, that's a multi call.
Single Call
Here is a sample code to load tree of categories of the default website in a single call.
Multi Call
Multi call is only available on Magento Soap v1.
That's why this library is built on top of Magento Soap v1.
This function allows to group multiple soap calls into only one http request, which can be a very great optimization practice.
It removes network latency and reduce magento bootstrap processes.
Tipically, it can be used to synchronize a whole product catalog into very few number of calls.



