PHPackages                             idlab/helper-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. idlab/helper-bundle

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

idlab/helper-bundle
===================

Idlab helpers

0.1.0(3y ago)01.4k↓33.3%MITPHPPHP &gt;=8.1

Since Jul 6Pushed 3y ago1 watchersCompare

[ Source](https://github.com/idlab-geneve/helper-bundle)[ Packagist](https://packagist.org/packages/idlab/helper-bundle)[ RSS](/packages/idlab-helper-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (6)Versions (3)Used By (0)

Idlab Helper Bundle
===================

[](#idlab-helper-bundle)

This bundle provides helper methods which we use in most of our projects. These helpers can format phone numbers or check EAN validity, sanitize a string or remove accents, you name it. Check both `src/Service/Helper.php` and `src/SetaticHelper.php` to see all available helpers

INFO : `src/Service/Helper.php` is intended for helper who need the container and support injection. Right now there are not such helpers

Installation
============

[](#installation)

Make sure Composer is installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Applications that use Symfony Flex
----------------------------------

[](#applications-that-use-symfony-flex)

Open a command console, enter your project directory and execute:

```
$ composer require idlab/helper-bundle
```

Applications that don't use Symfony Flex
----------------------------------------

[](#applications-that-dont-use-symfony-flex)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require idlab/helper-bundle
```

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    // ...
    Idlab\ComposerChangelogBundle\IdlabHelperBundle::class => ['all' => true],
];
```

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

[](#usage-example)

```
use \Idlab\HelperBundle\StaticHelper;

//...

$phone = StaticHelper::cleanPhoneNumber($uglyPhoneNumber);
```

Will transform `0041-22 621.12.32` to `+41 22 621 12 32`

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

[](#configuration)

Right now there is no useful configuration. If the file has not yet been generated, create a new `config/packages/idlab_helper.yaml` file. The defaulf values are

```
idlab_helper:
    # future parameters go here...
```

NB: to see the configuration reference, run `$ php bin/console config:dump idlab_helper`

Contribute
----------

[](#contribute)

Please always run CS fixer before sumbitting a merge request (PHP CS Fixer lives in the `./vendors` directory)

```
$ php ./vendor/bin/php-cs-fixer fix
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Every ~53 days

Total

2

Last Release

1358d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/16f1fe7fd9c8ad9635ce599d41547b589c4e197709b4f0113b8a319d2e59de5e?d=identicon)[mikvet](/maintainers/mikvet)

---

Top Contributors

[![mikvet](https://avatars.githubusercontent.com/u/4101467?v=4)](https://github.com/mikvet "mikvet (5 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/idlab-helper-bundle/health.svg)

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

###  Alternatives

[symfony/ux-chartjs

Chart.js integration for Symfony

1003.2M18](/packages/symfony-ux-chartjs)[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)[symfony/ux-cropperjs

Cropper.js integration for Symfony

19280.3k3](/packages/symfony-ux-cropperjs)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14112.1k8](/packages/netgen-content-browser)[pentiminax/ux-datatables

DataTables.net integration for Symfony

605.6k](/packages/pentiminax-ux-datatables)

PHPackages © 2026

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