Download the PHP package thelia/colissimo-label-module without Composer

On this page you can find all versions of the php package thelia/colissimo-label-module. 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 colissimo-label-module

ColissimoLabel

Allows you to generate labels for orders passed with ColissimoHomeDelivery and ColissimoPickupPoint.

Installation

Manually

Composer

Add it in your main thelia composer.json file

Usage

Activating the module will add a button "ColissimoLabel" tor your left toolbar. Clicking it will redirect you to the module page, which has 3 tabs.

The module also includes a new part to the delivery tab of the order edit page, allowing you to see every label created for this order, as well as create new ones.

Hook

Loop

If your module declare one or more loop, describe them here like this :

[colissimolabel.label-info]

Input arguments

Argument Description
order_id An order ID

Output arguments

Variable Description
$ORDER_ID The order ID
$HAS_ERROR (bool) Whether an error occured during the label generation or not
$ERROR_MESSAGE The error message
$WEIGHT The weight indicated on the label
$SIGNED (bool) Whether the label is a signed one or not
$TRACKING_NUMBER The order tracking number
$HAS_LABEL (bool) Whether the order has a label or not
$LABEL_TYPE The file extension of the label
$HAS_CUSTOMS_INVOICE (bool) Whether a customs invoice was created or not
$LABEL_URL The URL from which to download the URL
$CUSTOMS_INVOICE_URL The URL from which to download the customs invoice
$CLEAR_LABEL_URL The URL from which to delete the label
$CAN_BE_NOT_SIGNED (bool) Whether the order HAS to be signed or not
$ORDER_DATE The order date

[colissimolabel.orders-not-sent]

Input arguments

Argument Description
with_prev_next_info See Thelia documentation

Output arguments

Same as an order loop, but only order that weren't sent or cancelled and that are paid for will be searched for.

Other ?

If you have other think to put, feel free to complete your readme as you want.


All versions of colissimo-label-module with dependencies

PHP Build Version
Package Version
Requires thelia/installer Version ~1.1
ext-zip 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 thelia/colissimo-label-module contains the following files

Loading the files please wait ....