Download the PHP package iconneqt/rest-api-client without Composer

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

iConneqt REST API PHP Client

Version 1.0.6

A PHP class library for the iConneqt REST API.

[license]() Build Status

Copyright © 2016-2017 Advanced CRMMail Technology B.V.

Documentation

The API documentation can be found here: http://demo.iconneqt.nl/api/docs/.

Installation

Either use the included autoloader in src/autoloader.php or install using Composer:

composer require iconneqt/rest-api-client

Classes

Class hierarchy in the src directory.

If you use Composer, you can add the src to the autoloader as such:

/* @var $loader Composer\Autoload\ClassLoader */
$loader = require 'path-to-vendor/autoload.php';
$loader->add('Iconneqt', 'path-to-src');

The two most important classes are the following:

\Iconneqt\Api\Rest\Iconneqt

High-level access to the iConneqt REST API, returning rich objects from which you can explore/dive into the API further.

Method calls to the Iconneqt class return objects where properties can be accessed using getters and further objects can be queried from the REST API.

Alternatively, you can just use the Iconneqt class directly.

\Iconneqt\Api\Rest\Client\Client

Low-level API access component used internally by the Iconneqt class.

Essentially, this class is a somewhat generic wrapper for cURL lightly tuned for the iConneqt REST API.

You may want to use this class if you want to use all available functionality the REST API has to offer or want to bypass the use of objects.

Method calls to the Client class return stdClass objects by default, but can be set to return associative arrays instead.

Examples

Examples in the example directory.

Authentication for examples

Examples


All versions of rest-api-client with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.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 iconneqt/rest-api-client contains the following files

Loading the files please wait ....