PHPackages                             mediapart/lapresselibre-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. [Framework](/categories/framework)
4. /
5. mediapart/lapresselibre-bundle

AbandonedArchivedSymfony-bundle[Framework](/categories/framework)

mediapart/lapresselibre-bundle
==============================

Symfony bundle of mediapart/lapresselibre library

v2.0.1(8y ago)39.6k2CC BY-NC-SAPHPPHP ^5.6|^7.0

Since Sep 22Pushed 8y ago2 watchersCompare

[ Source](https://github.com/mediapart/lapresselibre-bundle)[ Packagist](https://packagist.org/packages/mediapart/lapresselibre-bundle)[ RSS](/packages/mediapart-lapresselibre-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)Dependencies (6)Versions (5)Used By (0)

`La Presse Libre` Symfony Bundle
================================

[](#la-presse-libre-symfony-bundle)

[![Build Status](https://camo.githubusercontent.com/5c8a1e9bf05d874d2405a0bbe368dbfd08d9b0d74653c23d663d1235d0ad653f/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6d65646961706172742f6c617072657373656c696272652d62756e646c652e7376673f6272616e63683d6d6173746572)](http://travis-ci.org/mediapart/lapresselibre-bundle) [![Code Coverage](https://camo.githubusercontent.com/5d1d934bfc3dc697a747bc254479a4e9eba587e9b0aaefede66a8a9d064f998d/68747470733a2f2f636f6465636f762e696f2f67682f6d65646961706172742f6c617072657373656c696272652d62756e646c652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://scrutinizer-ci.com/g/mediapart/lapresselibre-bundle) [![Scrutinizer Quality Score](https://camo.githubusercontent.com/a39202d42548d15dbfcd367ddf9e470855dc20dea19a91c5dc645a284f47d2f0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d65646961706172742f6c617072657373656c696272652d62756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/mediapart/lapresselibre-bundle) [![Total Downloads](https://camo.githubusercontent.com/a0769cefd50dad14da508aa9bf5e627d8b55ae852d85fd2c16fc5bdaea7b71f6/68747470733a2f2f706f7365722e707567782e6f72672f6d65646961706172742f6c617072657373656c696272652d62756e646c652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/mediapart/lapresselibre-bundle) [![Latest Stable Version](https://camo.githubusercontent.com/520ad581880ada96e29c339dbd28081a217e80b2ff1a1b705b85deb51f675cd0/68747470733a2f2f706f7365722e707567782e6f72672f6d65646961706172742f6c617072657373656c696272652d62756e646c652f762f737461626c652e706e67)](https://packagist.org/packages/mediapart/lapresselibre-bundle)

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

[](#installation)

Install the package with Composer:

```
composer require mediapart/lapresselibre-bundle

```

Load the bundle into your Kernel:

```
# app/AppKernel.php

$bundles = array(
    // ...
    new Mediapart\Bundle\LaPresseLibreBundle\MediapartLaPresseLibreBundle(),
);
```

Configure your App with your [LaPresseLibre partner credentials](https://partenaire.lapresselibre.fr/gestion/credentials):

```
# app/config/config.yml

mediapart_la_presse_libre:
    public_key:   %lapresselibre_publickey%
    secret_key:   %lapresselibre_secretkey%
    aes_password: %lapresselibre_aespassword%
    aes_iv:       %lapresselibre_aesiv%
```

### WebServices

[](#webservices)

Configure the routing:

```
# app/config/routing.yml

MediapartLaPresseLibreWebServices:
  resource: "@MediapartLaPresseLibreBundle/Resources/config/routing/webservices.php"
  #prefix: lapresselibre/
```

And then, indicates your endpoints uri into [LaPresseLibre partner platform](https://partenaire.lapresselibre.fr/gestion).

Define what your endpoints have to do. For example, Your [verification endpoint](https://github.com/NextINpact/LaPresseLibreSDK/wiki/Fonctionnement-des-web-services#web-service-de-v%C3%A9rification-de-comptes-existants) will look like :

```
