Download the PHP package cba85/php-mondialrelay-webservice without Composer

On this page you can find all versions of the php package cba85/php-mondialrelay-webservice. 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 php-mondialrelay-webservice

PHP Mondialrelay Webservice

An expressive, fluent interface to Mondial Relay's shipping services.

Installation

Install using Composer :

Note: you must have PHP with Soap enabled.

Getting started

Usage

Webservice

You must obtain Mondial Relay credentials to use the webservice.

You could use Mondial Relay test credentials to try the webservice:

Available methods

Method name Webservice method name
searchPostcode() WSI2_RechercheCP
searchPostcode() WSI2_RechercheCP
statLabel() WSI2_STAT_Label
searchParcelshop() WSI4_PointRelais_Recherche
createLabel() WSI2_CreationEtiquette
createShipping() WSI2_CreationExpedition
getLabels() WSI3_GetEtiquettes
trackParcel() WSI2_TracingColisDetaille

Results

You can retrieve webservice results as a PHP StdClass Object or in Json format.

Last method call

You could retrieve the results, parameters or call another request of the webservice using method attribute that contains the last method call:

Parameters

The parameters you pass throught the method are automatically checked based on Mondial Relay regex patterns.

Postal code parameters and phone numbers parameters are automatically checked depending the country parameter they depends on.

Get setted parameters

You can check the setted parameters of the last method you called using:

Get error parameters

If at least one of your parameter doesn't match its regex patterns during the parameters checking, an exception will be thrown to prevent useless webservice call.

You could retrieve these errors:

Documentation

Tests

If you want to test something specific, just add the filename you want to test.

Example:


All versions of php-mondialrelay-webservice 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 cba85/php-mondialrelay-webservice contains the following files

Loading the files please wait ....