PHPackages                             gordalina/ifmb-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. gordalina/ifmb-bundle

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

gordalina/ifmb-bundle
=====================

Ifthensoftware IFmb integration into Symfony2

1.1.0(12y ago)3146MITPHPPHP &gt;=5.3

Since Mar 21Pushed 12y ago2 watchersCompare

[ Source](https://github.com/gordalina/IfmbBundle)[ Packagist](https://packagist.org/packages/gordalina/ifmb-bundle)[ RSS](/packages/gordalina-ifmb-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (7)Used By (0)

IfmbBundle
==========

[](#ifmbbundle)

The `IfmbBundle` provides integration of [ifthensoftware's Multibanco Payments](https://www.ifthensoftware.com/ProdutoX.aspx?ProdID=5) library into the [Symfony2 framework](http://symfony.com).

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

[](#installation)

Require [`gordalina/ifmb-bundle`](https://packagist.org/packages/gordalina/ifmb-bundle)to your `composer.json` file:

```
{
    "require": {
        "gordalina/ifmb-bundle": "~1"
    }
}
```

Register the bundle in `app/AppKernel.php`:

```
// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Gordalina\Bundle\IfmbBundle\GordalinaIfmbBundle(),
    );
}
```

Enable the bundle's configuration in `app/config/config.yml`:

```
# app/config/config.yml
gordalina_ifmb:
    anti_phishing_key: 0000-0000-0000-0000
    backoffice_key:    15i6cnl28vj4ock84co0gssggo480cso8oo4wok8oso8c0w4s8
    sandbox:           false # it defaults to %kernel.debug%
```

Configure the bundle's routing in `app/config/routing.yml`:

```
# app/config/routing.yml
gordalina_ifmb:
    resource: "@GordalinaIfmbBundle/Resources/config/routing.yml"
    prefix:   /
```

The callback URL that you need to provide to ifthensoftware will be your `http://domain.com//ifmb/payment-notification`

Usage
-----

[](#usage)

This bundle registers a `gordalina_ifmb.refmb` service which is an instance of `RefMb`. You'll be able to generate Multibanco References from this service.

It also registers a `gordalina_ifmb.client` service which is an instance of `Client` you can use this service to fetch payments from the gateway.

Testing
-------

[](#testing)

Setup the test suite using [Composer](http://getcomposer.org/):

```
$ composer install --dev

```

Run it using PHPUnit:

```
$ vendor/bin/phpunit

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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 ~1 days

Total

6

Last Release

4428d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3997a8664adb54d73be1861f2c2a562024cdd80dbde7eec9578f38fb8be1bb44?d=identicon)[gordalina](/maintainers/gordalina)

---

Top Contributors

[![gordalina](https://avatars.githubusercontent.com/u/787913?v=4)](https://github.com/gordalina "gordalina (11 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gordalina-ifmb-bundle/health.svg)

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

###  Alternatives

[ronanguilloux/php-gpio

GPIO-related utils &amp; toolkit PHP library

2678.0k](/packages/ronanguilloux-php-gpio)[daxslab/yii2-taggedview

Extension to help setup the standard HTML meta tags besides the ones defined by Opengraph and Twitter to contribute to website SEO

114.5k](/packages/daxslab-yii2-taggedview)

PHPackages © 2026

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