PHPackages                             mediapart/lapresselibre - 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. [API Development](/categories/api)
4. /
5. mediapart/lapresselibre

AbandonedArchivedLibrary[API Development](/categories/api)

mediapart/lapresselibre
=======================

Unofficial Client API of La Presse Libre project

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

Since Sep 20Pushed 8y ago2 watchersCompare

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

READMEChangelog (3)Dependencies (5)Versions (4)Used By (1)

`La Presse Libre` Client Library
================================

[](#la-presse-libre-client-library)

[![Build Status](https://camo.githubusercontent.com/c39c7d65c49d147f3d79e2d9c6bf1d99aa3ba3551ebad9bbc16b1ae1a25f9b9f/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6d65646961706172742f6c617072657373656c696272652e7376673f6272616e63683d6d6173746572)](http://travis-ci.org/mediapart/lapresselibre) [![Code Coverage](https://camo.githubusercontent.com/66f012181793cedf960e7488af50258048ab7239727c45d4f338717948afb5d6/68747470733a2f2f636f6465636f762e696f2f67682f6d65646961706172742f6c617072657373656c696272652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://scrutinizer-ci.com/g/mediapart/lapresselibre) [![Scrutinizer Quality Score](https://camo.githubusercontent.com/c5e6515212f9202762dfbb43621e03294b702f64c7fcb602289c284ffae60a82/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d65646961706172742f6c617072657373656c696272652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/mediapart/lapresselibre) [![Total Downloads](https://camo.githubusercontent.com/6261384a5ee96a5f02d320b3e06912c9da4deb56216fcf2ff1232c76b875967d/68747470733a2f2f706f7365722e707567782e6f72672f6d65646961706172742f6c617072657373656c696272652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/mediapart/lapresselibre) [![Latest Stable Version](https://camo.githubusercontent.com/ead4dec8699d73b14603e09c8f2ffcbced42f0b8586b87817844d6305aad49a6/68747470733a2f2f706f7365722e707567782e6f72672f6d65646961706172742f6c617072657373656c696272652f762f737461626c652e706e67)](https://packagist.org/packages/mediapart/lapresselibre)

Unofficial PHP SDK for the project [La Presse Libre](https://github.com/NextINpact/LaPresseLibreSDK). The difference with [the official package offered by NextINpact](https://github.com/NextINpact/LaPresseLibreSDK/tree/master/php) is compatibility with PSR4, PSR7 and php7 environment.

Usage
-----

[](#usage)

```
$account_always_exists = function ($data, $is_testing) use ($public_key) {
    $now = new DateTime('next year');

    return [
        'Mail' => $data['Mail'],
        'CodeUtilisateur' => $data['CodeUtilisateur'],
        'TypeAbonnement' => SubscriptionType::MONTHLY,
        'DateExpiration' => $now->format("Y-m-d\TH:i:sO"),
        'DateSouscription' => $now->format("Y-m-d\TH:i:sO"),
        'AccountExist' => true,
        'PartenaireID' => $public_key,
    ];
};
$verification = Endpoint::answer(Verification::class, $account_always_exists);
```

Detailed examples for each endpoints are available in [examples/](examples/).

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

[](#installation)

Simply install this package with [Composer](http://getcomposer.org/).

```
composer require mediapart/lapresselibre
```

Read More
---------

[](#read-more)

- Official `La Presse Libre` [documentation](https://github.com/NextINpact/LaPresseLibreSDK/wiki/) (fr).

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

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

Total

3

Last Release

3151d ago

Major Versions

v1.0.0 → v2.0.02017-11-10

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3751019?v=4)[gbprod](/maintainers/gbprod)[@gbprod](https://github.com/gbprod)

![](https://www.gravatar.com/avatar/1e82ed8c7258280b2186770221896380b5647466f56d1ae2743eb5981124562d?d=identicon)[Talamasca](/maintainers/Talamasca)

---

Top Contributors

[![methylbro](https://avatars.githubusercontent.com/u/344994?v=4)](https://github.com/methylbro "methylbro (3 commits)")

---

Tags

lapresselibrephp-libraryphp7psr4psr7

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mediapart-lapresselibre/health.svg)

```
[![Health](https://phpackages.com/badges/mediapart-lapresselibre/health.svg)](https://phpackages.com/packages/mediapart-lapresselibre)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M738](/packages/sylius-sylius)[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69735.1M159](/packages/algolia-algoliasearch-client-php)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)

PHPackages © 2026

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