Download the PHP package mivaecommerce/api-sdk-php without Composer
On this page you can find all versions of the php package mivaecommerce/api-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mivaecommerce/api-sdk-php
More information about mivaecommerce/api-sdk-php
Files in mivaecommerce/api-sdk-php
Package api-sdk-php
Short Description Miva Merchant JSON API SDK for PHP
License proprietary
Homepage https://www.miva.com
Informations about the package api-sdk-php
Miva Merchant API SDK for PHP
This php library wraps the Miva Merchant JSON API introduced in Miva Merchant 9.12. It allows you to quickly integrate your PHP applications with a Miva Merchant store to fetch, create, and update store data.
For api documentation visit https://docs.miva.com/json-api.
Requirements
- Miva Merchant 10.+
- PHP 7.4+, Suggested 8.x
- Composer
For Miva Merchant 9.x, use the 1.x release For older PHP support use any release prior to 2.3.0
Installation
To install the SDK simply add it to your project with composer:
composer require mivaecommerce/api-sdk-php
Or manually add it to your composer.json
file:
"require": {
"mivaecommerce/api-sdk-php" : "2.*@stable"
}
Then run composer update
Getting Started
For usage see the examples provided in the examples/
directory.
SSH Private Key Authentication
Compatible Private Key Formats
- PKCS#1 PEM
- PKCS#8 PEM
When specifying the key to use within the SSHClient
or SSHPrivateKeyAuthenticator
, specify the full path to your private key file.
Converting from an OpenSSH Private Key
If your private key is in OpenSSH format (starts with -----BEGIN OPENSSH PRIVATE KEY-----
) then you will need to convert it.
Create a copy of your key preserving permissions:
cp -p /path/to/private/key/id_rsa /path/to/private/key/id_rsa.pem
Convert in place to the proper format:
ssh-keygen -p -m PEM -f /path/to/private/key/id_rsa.pem
SSH Agent Authentication
Compatible Public Key Formats
Your public key must be in the OpenSSH Public Key format. The default public key format is usually the correct type if you generated your key using ssh-keygen
.
See https://tools.ietf.org/html/rfc4253#section-6.6 for format.
A quick way to get the correct format if you have the key associated with your local SSH agent is to run the command ssh-add -L
and copying the corresponding key.
License
This library is licensed under the Miva SDK License Agreement
.
See the LICENSE
file for more information.
All versions of api-sdk-php with dependencies
ext-curl Version *
ext-json Version *