1. Go to this page and download the library: Download podio-labs/podio-laravel library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
podio-labs / podio-laravel example snippets
use Podio\Laravel\Facades\Podio;
$item = Podio::items()->create($appId, [
'fields' => ['title' => 'New lead'],
]);
Podio::comments()->create('item', $item->item_id, [
'value' => 'Created from the contact form',
]);
$token = Podio::authenticate(); // ensure a valid token and return it
$token = Podio::token(); // current token, or null
$token->value();
$token->expiresAt();
$token->refreshToken();