Download the PHP package juanparati/podium without Composer
On this page you can find all versions of the php package juanparati/podium. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download juanparati/podium
More information about juanparati/podium
Files in juanparati/podium
Package podium
Short Description A modern PHP library for Podium compatible with Laravel
License MIT
Informations about the package podium
Podium
A modern Podio API client compatible with Laravel.
Installation
composer require juanparati/podium
Laravel setup
This library can is compatible with Laravel. The following command will deploy the configuration file:
How to use it?
Client instance and authentication
Request a single item
Request all the items of an App
or alternatively with custom options:
Read all the items. Note that items() method is a generator, and it will automatically request the additional pages.
Reading item values.
This library provides to ways to read the values of the items.
-
Obtain the original values using the
originalValues
method: - Obtain the simplified values using the
decodeValue
method:
Both values will transverse all the values tree, however you can reference to an specific value.
or
Saving items
⚠️ Note: Saving items is still an experimental feature. Use this feature at your own risk.
It's possible to save/update items.
Inserting new items
⚠️ Note: Saving items is still an experimental feature. Use this feature at your own risk.
Using different field keys
It's possible to retrieve the field keys using the following formats:
- external_id (Default).
- external_id in snake case format.
- field_id.
For example sometime is very suitable to retrieve the field keys in snake case so it's easiest to manipulate.
Transforming date and datetime to different time zones and formats
All versions of podium with dependencies
ext-json Version *
guzzlehttp/guzzle Version ^7.2
illuminate/config Version >=8.0
illuminate/support Version >=8.0
illuminate/cache Version >=8.0
psr/log Version ^2.0 || ^3.0