PHPackages                             ibrows/post\_barcode\_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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ibrows/post\_barcode\_bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

ibrows/post\_barcode\_bundle
============================

Bundle for creating barcode through the swiss post soap API

05PHP

Since Apr 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ibrows/IbrowsPostBarcodeBundle)[ Packagist](https://packagist.org/packages/ibrows/post_barcode_bundle)[ RSS](/packages/ibrows-post-barcode-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

IbrowsPostBarcodeBundle - Create Barcodes from the Swiss Post
=============================================================

[](#ibrowspostbarcodebundle---create-barcodes-from-the-swiss-post)

The IbrowsPostBarcodeBundle allows you to create letter and package barcodes through the swiss post API. more information under:

Install and setup the bundle
----------------------------

[](#install-and-setup-the-bundle)

1. Fetch the source code

    ```
    $ php composer.phar require ibrows/post_barcode_bundle
    ```

    Composer will install the bundle to your project's `ibrows/post_barcode_bundle` directory.
2. Add the bundle to your `AppKernel` class

    ```
    // app/AppKernerl.php
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Ibrows\PostBarcodeBundle\IbrowsPostBarcodeBundle(),
            // ...
        );
        // ...
    }
    ```

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

[](#configuration)

### Setup credentials, paths and entities

[](#setup-credentials-paths-and-entities)

```
    ibrows_post_barcode:
        soap:
            wsdl: '%kernel.root_dir%/../vendor/ibrows/post_barcode_bundle/Soap/wsdl'
            dir: '%kernel.root_dir%/../vendor/ibrows/post_barcode_bundle/Soap/Classes'
            namespace: 'Ibrows\PostBarcodeBundle\Soap\classes'
            endpoint: "https://wsbc.post.ch/wsbc/barcode/v2_2"
            username:
            password:
            frankingLicence:

        barcode:
            folder: '%kernel.root_dir%/../web/barcodes'
```

Usage example
-------------

[](#usage-example)

```
    $recipient = new Address();
    $recipient->setCountry('CH');
    $recipient->setCity('Zürich');
    $recipient->setCompany('iBROWS AG');
    $recipient->setFirstName('Manuel');
    $recipient->setLastName('Knobel');
    $recipient->setPrimaryStreet('Seestrasse 356');
    $recipient->setZipCode('8038');
    $recipient->setTitle(Address::MISTER);

    $customer = clone $recipient;

    $service = $this->getContainer()->get('ibrows_post_barcode.soap.client.service.barcode');
    $service->generateLabel($recipient, $customer);
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/31dcaa71007628affe5a759a757d17182e05ab88f2b018a46d74c62bc10d8249?d=identicon)[ibrows](/maintainers/ibrows)

---

Top Contributors

[![Q80](https://avatars.githubusercontent.com/u/1086297?v=4)](https://github.com/Q80 "Q80 (2 commits)")[![Flask](https://avatars.githubusercontent.com/u/604984?v=4)](https://github.com/Flask "Flask (1 commits)")

### Embed Badge

![Health badge](/badges/ibrows-post-barcode-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/ibrows-post-barcode-bundle/health.svg)](https://phpackages.com/packages/ibrows-post-barcode-bundle)
```

###  Alternatives

[lezhnev74/pasvl

Array Validator (regular expressions for nested array, sort of)

5258.3k3](/packages/lezhnev74-pasvl)[nystudio107/craft-recipe

A comprehensive recipe FieldType for Craft CMS that includes metric/imperial conversion, portion calculation, and JSON-LD microdata support

266.4k](/packages/nystudio107-craft-recipe)[overtrue/laravel-qcloud-federation-token

QCloud COS FederationToken generator for Laravel.

179.5k](/packages/overtrue-laravel-qcloud-federation-token)

PHPackages © 2026

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