2017 © Pedro Peláez
 

library lapresselibre

Unofficial Client API of La Presse Libre project

image

mediapart/lapresselibre

Unofficial Client API of La Presse Libre project

  • Friday, November 17, 2017
  • by methylbro
  • Repository
  • 5 Watchers
  • 3 Stars
  • 3,017 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 18 % Grown

The README.md

La Presse Libre Client Library

Build Status Code Coverage Scrutinizer Quality Score Total Downloads Latest Stable Version, (*1)

Unofficial PHP SDK for the project La Presse Libre. The difference with the official package offered by NextINpact is compatibility with PSR4, PSR7 and php7 environment., (*2)

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/., (*3)

Installation

Simply install this package with Composer., (*4)

composer require mediapart/lapresselibre

Read More

The Versions

17/11 2017

dev-master

9999999-dev

Unofficial Client API of La Presse Libre project

  Sources   Download

CC BY-NC-SA

The Requires

 

The Development Requires

by Thomas GASC

17/11 2017

v2.0.1

2.0.1.0

Unofficial Client API of La Presse Libre project

  Sources   Download

CC BY-NC-SA

The Requires

 

The Development Requires

by Thomas GASC

10/11 2017

v2.0.0

2.0.0.0

Unofficial Client API of La Presse Libre project

  Sources   Download

CC BY-NC-SA

The Requires

 

The Development Requires

by Thomas GASC

20/09 2017

v1.0.0

1.0.0.0

Unofficial Client API of La Presse Libre project

  Sources   Download

CC BY-NC-SA

The Requires

 

The Development Requires

by Thomas GASC