Download the PHP package podio-labs/podio-laravel without Composer
On this page you can find all versions of the php package podio-labs/podio-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download podio-labs/podio-laravel
More information about podio-labs/podio-laravel
Files in podio-labs/podio-laravel
Package podio-laravel
Short Description Laravel integration for the Podio API. A Podio facade with config-driven auth and token caching.
License MIT
Homepage https://github.com/podio-labs/podio-laravel
Informations about the package podio-laravel
Podio Laravel
Talk to the Podio API from Laravel through a clean, testable Podio facade — config-driven auth, cached tokens, and Laravel's own HTTP client under the hood.
In this example, we create an item and comment on it — authentication is handled for you:
Not using Laravel? See
podio-labs/podio-client.
Installation
Requires PHP 8.3+ and Laravel 12 or 13.
You can install the package via composer:
That's it — the PodioServiceProvider and Podio facade are auto-discovered, so you're ready to go.
Optionally, publish the config file:
Configuration
Authentication
Set your Podio API credentials, then pick a method. The token is fetched, cached and refreshed for you.
Password — a service account, server-to-server:
App — a single Podio app via its token:
Read (and persist) the current token:
All options
Everything in config/podio.php:
| Key | Env | Default |
|---|---|---|
base_url |
PODIO_BASE_URL |
'https://api.podio.com' |
auth.client_id |
PODIO_CLIENT_ID |
null |
auth.client_secret |
PODIO_CLIENT_SECRET |
null |
auth.method |
PODIO_AUTH_METHOD |
'password' |
auth.username |
PODIO_USERNAME |
null |
auth.password |
PODIO_PASSWORD |
null |
auth.app_id |
PODIO_APP_ID |
null |
auth.app_token |
PODIO_APP_TOKEN |
null |
http.timeout |
PODIO_HTTP_TIMEOUT |
30 |
http.connect_timeout |
PODIO_HTTP_CONNECT_TIMEOUT |
10 |
cache.store |
PODIO_CACHE_STORE |
env('CACHE_STORE') |
cache.key |
PODIO_CACHE_KEY |
'podio:access_token' |
Usage
Endpoints
Everything goes through the Podio facade.
Raw requests
For anything not covered by an endpoint, send a request directly:
Rate limit
How it works
Podio\Laravel\Podio builds a Podio\Client\PodioClient from your config and:
- transports requests through Laravel's
Httpfacade via a PSR-18 adapter (LaravelHttpClient) — so it honours your HTTP config, fakes, and middleware; - caches the OAuth access token (
cache.store/cache.key) and reuses it across requests, so you are not re-authenticating on every call.
The facade is bound as a singleton, so the client — and its cached token — is shared for the lifetime of the request.
Testing
Because transport runs through the Http facade, you can fake Podio in your own tests:
License
Podio Laravel is open-sourced software licensed under the MIT license.
All versions of podio-laravel with dependencies
illuminate/http Version ^12.0 || ^13.0
illuminate/support Version ^12.0 || ^13.0
podio-labs/podio-client Version ^0.3