Download the PHP package menes1337/3dcart-api-php-client without Composer
On this page you can find all versions of the php package menes1337/3dcart-api-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download menes1337/3dcart-api-php-client
More information about menes1337/3dcart-api-php-client
Files in menes1337/3dcart-api-php-client
Download menes1337/3dcart-api-php-client
More information about menes1337/3dcart-api-php-client
Files in menes1337/3dcart-api-php-client
Vendor menes1337
Package 3dcart-api-php-client
Short Description PHP client library for accessing 3dCart Soap API, Soap Advanced API and REST API
License MIT
Package 3dcart-api-php-client
Short Description PHP client library for accessing 3dCart Soap API, Soap Advanced API and REST API
License MIT
Please rate this library. Is it a good library?
Informations about the package 3dcart-api-php-client
3dcart PHP Api-Client
Project properties
Codestyle: PSR-1 (http://www.php-fig.org/psr/psr-1/) / PSR-2 (http://www.php-fig.org/psr/psr-2/)
Autoloading: PSR-4 (http://www.php-fig.org/psr/psr-4/)
Minimum PHP Version: 5.6
Example usage
Project Initialization
git clone https://github.com/Menes1337/3dcart-api-php-client.git
cd 3dcart-api-php-client
composer install
Soap API
include('vendor' . DIRECTORY_SEPARATOR . 'autoload.php');
use \ThreeDCart\Primitive\StringValueObject;
$soapFactory = new \ThreeDCart\Api\Soap\Factory();
$soapClient = $soapFactory->getApiClient(
new StringValueObject('Your 3dcart API key'),
new StringValueObject('yourstore.3dcartstores.com')
);
$customerObjects = $soapClient->getCustomers();
var_dump($customerObjects);
Advanced SOAP API
include('vendor' . DIRECTORY_SEPARATOR . 'autoload.php');
use \ThreeDCart\Primitive\StringValueObject;
$soapFactory = new \ThreeDCart\Api\Soap\Factory();
$advancedClient = $soapFactory->getAdvancedApiClient(
new StringValueObject('Your 3dcart API key'),
new StringValueObject('yourstore.3dcartstores.com')
);
$plainCustomersArray = $advancedClient->runQuery(
new StringValueObject('SELECT * FROM customer')
);
var_dump($plainCustomersArray);
Contributing
You are welcome to contribute!
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Make sure the codestyle (PSR-1 / PSR-2) is applied to your changes, your code is PHP Unit tested and can be executed on PHP 5.6/7.0/7.1
- Commit your changes (
git commit -am 'Add some feature'
)) - Push to the branch (
git push origin my-new-feature
) - Create a new pull request
All versions of 3dcart-api-php-client with dependencies
PHP Build Version
Package Version
Requires
guzzlehttp/guzzle Version
^6.2
The package menes1337/3dcart-api-php-client contains the following files
Loading the files please wait ....