Download the PHP package hipex/pack-api without Composer

On this page you can find all versions of the php package hipex/pack-api. 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 pack-api

EOL

This project is end of life and will no longer be maintained or updated. Please consider using https://platform-api.hipex.io/.

PackApi

Wrapper around Hipex hosting platform API. Have a look at https://www.hipex.io/. The better part of this library is generated from the File generated from https://service.hipex.io/hipex-pack-api GraphQL endpoint.

For a more extended documentation and API explorer please check out https://service.hipex.io/hipex-pack-api/docs/.

Installation

Any implementation of psr/log-implementation is required https://packagist.org/providers/psr/log-implementation. For Magento 2 monolog/monolog is already installed.

Usage

On first usage a login is required. This will store a token in your home directory (~/.hipex-console-auth) or if set a token file provided. After login you can call the queries and mutations. When calling queries without login first the API will just return without result or on mutations throw an exception.

Login

Call query / mutation In this example we will fetch a list of all servers and for each server we will fetch the domains on the server. There is a much more efficient way of making the same API call in GraphQL without using the API wrapper. For this have a look at the extended API documentation.

Running GraphQL Query

Issues

For issues please include at least the following parts:

Versions

For version Semantic Versioning is followed (https://semver.org/). In short Given a version number MAJOR.MINOR.PATCH, increment the:

  1. MAJOR version Backwards-compatible breaks.
  2. MINOR version Added functionality in a backwards-compatible manner
  3. PATCH version Bug fixes

All versions of pack-api with dependencies

PHP Build Version
Package Version
Requires euautomation/graphql-client Version ^0.2
psr/simple-cache Version ^1.0
psr/log Version ^1.0
psr/log-implementation Version ^1.0
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 hipex/pack-api contains the following files

Loading the files please wait ....