podio / podio-php
Podio API 的 PHP 客户端
v7.0.3
2024-02-22 14:49 UTC
Requires
- php: ^7.3 || ^8.0
- ext-json: *
- guzzlehttp/guzzle: >=6.2.0
- guzzlehttp/psr7: >=1.7.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- php-coveralls/php-coveralls: ^2.1
- phpunit/phpunit: ^9.5.8
Suggests
- composer/ca-bundle: Improve security through providing current CA ROOT certificates bundle
- kint-php/kint: Debugging helper for web setups
This package is not auto-updated.
Last update: 2024-09-14 13:20:08 UTC
README
这是由 Podio 社区维护,并继续前官方 Podio PHP 客户端的非官方 PHP 客户端,用于与 Podio API 交互。此客户端涵盖了 Podio API 的大部分功能。请参阅 podio-community.github.io/podio-php 获取文档。
用法
通过 composer 安装
composer require podio-community/podio-php
在您的 PHP 文件中使用
require __DIR__ . '/vendor/autoload.php'; $client = new PodioClient($client_id, $client_secret); $client->authenticate_with_app($app_id, $app_token); $items = PodioItem::filter($client, $app_id); print "My app has " . $items->total . " items";
贡献
要贡献,请阅读:贡献指南。