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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

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

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

PHP Build Version
Package Version
Requires php Version >=7.4
ext-curl Version *
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mivaecommerce/api-sdk-php contains the following files

Loading the files please wait ....