Download the PHP package podio-labs/podio-client without Composer

On this page you can find all versions of the php package podio-labs/podio-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package podio-client

Podio Client

Tests Latest Stable Version License

A framework-agnostic PHP client for the Podio API, built on PSR-18, bring your own HTTP client, everything else is wired for you.

In this example, we build a client and create an item, authentication is handled for you:

Using Laravel? See podio-labs/podio-laravel.

Installation

Requires PHP 8.3+.

You can install the package via composer:

Ensure the php-http/discovery composer plugin is allowed to run, or install a PSR-18 client manually if your project does not already have one:

Usage

Creating a client

Authentication

A client always needs your Podio API credentials plus one authentication method, slotted into the builder above. The token manager fetches, caches and refreshes the access token for you.

Method Builder call Use when
Password ->withPasswordAuth($username, $password) service account, server-to-server
Authorization code ->withAuthorizationCodeAuth($code, $redirectUri) per-user OAuth2, after the user authorises your app
App ->withAppAuth($appId, $appToken) a single Podio app via its app token
Access token ->withAccessToken($token, $expiresAt, $refreshToken) reuse a token you stored

Read (and persist) the current token:

Endpoints

Raw requests

For anything not covered by an endpoint, send a request directly:

Rate limit

How it works

PodioClient wraps a transporter over your PSR-18 client (or one discovered via php-http/discovery) and a token manager that:

Every endpoint (items(), files(), …) is a small typed wrapper over send().

Testing

To test code that uses the client without hitting Podio, inject a stub PSR-18 client:

License

Podio Client is open-sourced software licensed under the MIT license.


All versions of podio-client with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
php-http/discovery Version ^1.14
psr/http-client Version ^1.0
psr/http-client-implementation Version ^1.0
psr/http-factory Version ^1.0
psr/http-factory-implementation Version ^1.0
psr/http-message Version ^1.0 || ^2.0
psr/simple-cache Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package podio-labs/podio-client contains the following files

Loading the files please wait ...