mediapart/lapresselibre
最新稳定版本:v2.0.1
Composer 安装命令:
composer require mediapart/lapresselibre
包简介
Unofficial Client API of La Presse Libre project
README 文档
README
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.
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/.
Installation
Simply install this package with Composer.
composer require mediapart/lapresselibre
Read More
- Official
La Presse Libredocumentation (fr).
统计信息
- 总下载量: 9.77k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: CC
- 更新时间: 2017-09-11