Download the PHP package avadolearning/bls-sdk-php without Composer

On this page you can find all versions of the php package avadolearning/bls-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 bls-sdk-php

BLS SDK for PHP

A library for integrating your PHP application with AVADO's Business Logic Services API.


Installation

Support for different installation methods is still in the works. Reach out to us for installation help if your use case doesn't allow you to follow the below guidance.

With Composer and Packagist (recommended)

We have an example of how to use the SDK in this configuration, but it's fairly straightforward -- just add the following line to the require section of your composer.json:

Then ensure the dependency is installed into your vendor directory:

Using your own autoloader

We don't (yet?) support this configuration.

Usage

First obtain an instance of the SoapClientFactory. The factory handles passing parameters to each of the client classes:

Then use the factory to obtain a client for a given service:

You can optionally pass additional SoapClient options to getInstance() to override those specified in the factory. To allow PHP to cache the WSDL file on the disk, you might instantiate the SalesLogix client as follows:

Either way, $client will now be an instance of AvadoLearning\BusinessLogicServices\SalesLogixService\SalesLogix, and it will be possible to call methods like . Examples can be found in the /test/unit directory of this repository.

Development

The following documentation is for maintainers of the plugin.

Installing development dependencies

Dependencies are managed with Composer:

Updating the entities

Assuming Wsdl2PhpGenerator has been installed as a Composer development dependency:

Testing

First, configure the project's /etc/config.php file with your credentials:

Then, assuming PHPUnit has been installed as a Composer development dependency:

If you receive no output, it's likely that there's something wrong with your environment. Try running PHPUnit with PHP's error output enabled:


All versions of bls-sdk-php with dependencies

PHP Build Version
Package Version
No informations.
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 avadolearning/bls-sdk-php contains the following files

Loading the files please wait ....