PHPackages                             lexik/colissimo-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. lexik/colissimo-bundle

ActiveSymfony-bundle

lexik/colissimo-bundle
======================

This bundle provides a wrapper for the lexik/ws-colissimo library

v1.0.0(12y ago)171373MITPHPPHP &gt;=5.3.3

Since Mar 22Pushed 9y ago10 watchersCompare

[ Source](https://github.com/lexik/LexikColissimoBundle)[ Packagist](https://packagist.org/packages/lexik/colissimo-bundle)[ Docs](https://github.com/lexikteam/LexikColissimoBundle)[ RSS](/packages/lexik-colissimo-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

LexikColissimoBundle
====================

[](#lexikcolissimobundle)

This bundle provides services to access and consume the WSColiPosteLetterService using the Lexik [WSColissimo](https://github.com/lexik/ws-colissimo) library.

[![Project Status](https://camo.githubusercontent.com/76d23835e0d21e102696a47001c4c1be6b6b45ede33553fa4a9951201f966877/687474703a2f2f7374696c6c6d61696e7461696e65642e636f6d2f6c6578696b2f4c6578696b436f6c697373696d6f42756e646c652e706e67)](https://camo.githubusercontent.com/76d23835e0d21e102696a47001c4c1be6b6b45ede33553fa4a9951201f966877/687474703a2f2f7374696c6c6d61696e7461696e65642e636f6d2f6c6578696b2f4c6578696b436f6c697373696d6f42756e646c652e706e67)

[![SensioLabsInsight](https://camo.githubusercontent.com/6f1a4d17c6cc2369fa274df6ccbe3786a67a4fc2e3cfb002272f537364a014ed/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f31323439626532632d343332652d343532612d393861622d3231326230323161663532322f6269672e706e67)](https://insight.sensiolabs.com/projects/1249be2c-432e-452a-98ab-212b021af522)

This bundle is deprecated
=========================

[](#this-bundle-is-deprecated)

WSColiPosteLetterService
========================

[](#wscoliposteletterservice)

Use the WSColiPosteLetterService to generate shipping labels for Colissimo Parcels.

Installation
------------

[](#installation)

### Download using composer

[](#download-using-composer)

Add the bundle to your `composer.json` :

```
{
    "require": {
        "lexik/colissimo-bundle": "dev-master"
    }
}

```

Download it by running the command :

```
php composer.phar update lexik/colissimo-bundle

```

### Enable the bundle

[](#enable-the-bundle)

Enable the bundle in your `app/AppKernel.php` :

```
public function registerBundles()
{
    $bundles = array(
        // ...
        new Lexik\Bundle\ColissimoBundle\LexikColissimoBundle(),
    );
}
```

Configuration
-------------

[](#configuration)

Below is a minimal example of the configuration necessary to use the LexikColissimoBundle in your application:

```
lexik_colissimo:
    ws_coliposte_letter_service:
        contract_number:         123456               # mandatory
        password:                'abcdef'             # mandatory
        service_call_context:
            commercial_name:     'ACME COMPANY'
        sender:                                       # you can overwrite this part from your code
            company_name:        'ACME COMPANY'
            line_0:              null
            line_1:              null
            line_2:              'Place de la Comedie'
            line_3:              null
            postal_code:         '34000'
            city:                'Montpellier'
```

Usage
-----

[](#usage)

Get the service from the container, call the `getLabel` method with your parcel and recipient informations as arguments :

```
// use Lexik\Bundle\ColissimoBundle\Exception\InvalidRequestException;
// use Lexik\Bundle\ColissimoBundle\Exception\FailedRequestException;

$colissimo = $this->container->get('lexik_colissimo.ws_coliposte_letter_service.service');

try {

    $response = $colissimo->getLabel(
        array('weight' => 1.780),
        array(
            'name'       => 'Client Name',
            'surname'    => 'Client Surname',
            'email'      => 'client@email.com',
            'line2'      => 'Client Address',
            'city'       => 'Client City',
            'postalCode' => 'Client Postal Code'
        )
	// you can overwrite the sender configured in you app/config.yml by passing an array as 3rd argument
	// you can disable validation by setting the 4th argument to false
    );

    // $response looks like this
    object(WSColissimo\WSColiPosteLetterService\Response\ValueObject\ReturnLetter)[1102]
      protected 'file' => null
      protected 'parcelNumber' => string '13xc1v654d123' (length=13)
      protected 'PdfUrl' => string 'https://ws.colissimo.fr/path/to/pdf-file' (length=40)
      protected 'errorID' => int 0
      protected 'error' => string '' (length=0)
      protected 'signature' => null
      protected 'dateCreation' => null

} catch (InvalidRequestException $e) {
    // validation problems : you can iterate over errors with $e->getViolations()
} catch (FailedRequestException $e) {
    // webservice returned an error : you can get the error message with $e->getMessage()
}
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4431d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9afe5fb1ecbb4f6432e1ea736f9783b6d138c4484889922acb9b3354188e60a0?d=identicon)[jeremyb](/maintainers/jeremyb)

---

Top Contributors

[![rolebi](https://avatars.githubusercontent.com/u/2950183?v=4)](https://github.com/rolebi "rolebi (1 commits)")

---

Tags

bundleSymfony2colissimo

### Embed Badge

![Health badge](/badges/lexik-colissimo-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/lexik-colissimo-bundle/health.svg)](https://phpackages.com/packages/lexik-colissimo-bundle)
```

###  Alternatives

[stfalcon/tinymce-bundle

This Bundle integrates TinyMCE WYSIWYG editor into a Symfony2 project.

2692.9M24](/packages/stfalcon-tinymce-bundle)[liuggio/excelbundle

This is a Symfony2 Bundle helps you to read and write Excel files (including pdf, xlsx, odt), thanks to the PHPExcel library

3776.4M10](/packages/liuggio-excelbundle)[data-dog/audit-bundle

Audit bundle for symfony2 and doctrine orm, logs any database change

141901.7k1](/packages/data-dog-audit-bundle)[dmishh/settings-bundle

Database centric Symfony configuration management. Global and per-user settings supported.

115254.9k1](/packages/dmishh-settings-bundle)[lexik/currency-bundle

This Symfony2 bundle provide a service and a Twig extension to convert and display currencies.

63234.9k1](/packages/lexik-currency-bundle)[fsi/admin-bundle

FSi Admin Bundle. Admin generator for Symfony.

5849.2k7](/packages/fsi-admin-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
