PHPackages                             plemi/paybox-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. [Payment Processing](/categories/payments)
4. /
5. plemi/paybox-bundle

ActiveSymfony-bundle[Payment Processing](/categories/payments)

plemi/paybox-bundle
===================

Bundle for the online payment system provided by Paybox

v0.1(13y ago)125257[2 issues](https://github.com/Plemi/PlemiPayboxBundle/issues)PHP

Since Dec 21Pushed 12y ago4 watchersCompare

[ Source](https://github.com/Plemi/PlemiPayboxBundle)[ Packagist](https://packagist.org/packages/plemi/paybox-bundle)[ RSS](/packages/plemi-paybox-bundle/feed)WikiDiscussions master Synced 3w ago

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

PlemiPayboxBundle
=================

[](#plemipayboxbundle)

[![Build Status](https://camo.githubusercontent.com/b82e6e40ddb3ec316612a77d555180f622c5b520e309fda039c64144725c3690/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f506c656d692f506c656d69506179626f7842756e646c652e706e67)](http://travis-ci.org/Plemi/PlemiPayboxBundle)[![Bitdeli Badge](https://camo.githubusercontent.com/f0063f6f5e8fe62d4983054dfa8a69e3e7834c7899c5ca21b5836695017b05ed/68747470733a2f2f64327765637a68766c38323376302e636c6f756466726f6e742e6e65742f506c656d692f706c656d69706179626f7862756e646c652f7472656e642e706e67)](https://bitdeli.com/free "Bitdeli Badge")

What is Paybox?
---------------

[](#what-is-paybox)

PAYBOX Services is a "multi-bank" Payment Service Provider to offer a comprehensive approach to processing payments from distance selling, providing a service linked to the whole banking landscape and non-bank card issuers. It's market player with connections to the various businesses, banks, card issuers, processing centres, institutions and integrators.

What is PlemiPayboxBundle?
--------------------------

[](#what-is-plemipayboxbundle)

PlemiPayboxBundle is an interface to Paybox Services in order to use them really easily with Symfony2.

Requirements
------------

[](#requirements)

- [Paybox CGI](http://www1.paybox.com/telechargement_focus.aspx?cat=3)
- A knowledge of the Paybox Services docs
- Symfony2
- cURL (except if you want to use the shell way)

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

[](#installation)

- Add the bundle to your deps file or add it as a git submodule.
- Install CGI in "%kernel.root\_dir%/app/Resources/cgi-bin/paybox.cgi"

Documentation
-------------

[](#documentation)

- 2 main classes : Request, Response
- Request is what you want to send to Paybox
- Response is what you get from Paybox

You can use request and response completely separately.

By default, you have to insert their CGIs in `%kernel.root_dir%/Resources/cgi-bin/paybox.cgi`but you can change this path via config.yml (depends on your environment):

```
plemi_paybox:
    endpoint: %kernel.root_dir%/../vendor/paybox/cgi-bin/paybox.cgi
```

WARNING: your folder must be +ExecCGI on it if you use `curl` transport. Please, refer to Apache manual.

Usage
-----

[](#usage)

### Request

[](#request)

```
$manager = $this->get('plemi_paybox.manager');
$request = $manager->createRequest();

$request->setTotal(100);
$request->setRank(34030);
$request->setSite(302);

return new Response($request->execute());
```

### Response

[](#response)

```
$manager  = $this->get('plemi_paybox.manager');
$response = $manager->createResponse($this->getRequest());

$amount = $response->getAmount();
```

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

[](#configuration)

By default, bundle uses `shell` transport to talk with CGI module, you can switch it with `transport` option:

```
# app/config/config.yml
plemi_paybox:
    transport: curl
```

You can provide different path (url for `curl` transport) to cgi-bin with `endpoint`:

```
plemi_paybox:
    endpoint: http://example.com/cgi-bin/paybox.cgi
```

You can specify default request parameters with `datas` option. For example, in `dev` environment, you will most likely want this:

```
# app/config/config_test.yml
plemi_paybox:
    datas:
        PBX_RANG:        99
        PBX_SITE:        1999888
        PBX_IDENTIFIANT: 2
        PBX_PAYBOX:      'https://preprod-tpeweb.paybox.com/cgi/MYchoix_pagepaiement.cgi'
        PBX_BACKUP1:     'https://preprod-tpeweb.paybox.com/cgi/MYchoix_pagepaiement.cgi'
        PBX_BACKUP2:     'https://preprod-tpeweb.paybox.com/cgi/MYchoix_pagepaiement.cgi'
```

License
-------

[](#license)

Copyright (C) 2011 Ludovic Fleury, David Guyon, Erwann Mest

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

4932d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d2609179d4c803c2cee260f19c04e601f47d145e428bd1a7a1b5c94b50d9068?d=identicon)[dguyon](/maintainers/dguyon)

---

Top Contributors

[![gyndav](https://avatars.githubusercontent.com/u/61255?v=4)](https://github.com/gyndav "gyndav (18 commits)")[![ludofleury](https://avatars.githubusercontent.com/u/187038?v=4)](https://github.com/ludofleury "ludofleury (13 commits)")[![everzet](https://avatars.githubusercontent.com/u/30813?v=4)](https://github.com/everzet "everzet (13 commits)")[![Shine-neko](https://avatars.githubusercontent.com/u/884441?v=4)](https://github.com/Shine-neko "Shine-neko (1 commits)")[![fabienpomerol](https://avatars.githubusercontent.com/u/496277?v=4)](https://github.com/fabienpomerol "fabienpomerol (1 commits)")[![docteurklein](https://avatars.githubusercontent.com/u/109846?v=4)](https://github.com/docteurklein "docteurklein (1 commits)")[![dizda](https://avatars.githubusercontent.com/u/1245245?v=4)](https://github.com/dizda "dizda (1 commits)")

---

Tags

paymentpaybox

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/plemi-paybox-bundle/health.svg)

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

###  Alternatives

[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1155.2k](/packages/rcsofttech-audit-trail-bundle)[sylius/payment-bundle

Flexible payments system for Symfony e-commerce applications.

22282.1k8](/packages/sylius-payment-bundle)

PHPackages © 2026

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