PHP
ActiveSync, Guzzle 7 transport (BYO ClientInterface), readonly value objects, typed exception hierarchy. PHP 8.1+.
SET UP
Install
composer require postio/postio
EXAMPLE
30-second example
php
<?php use Postio\PostioClient; $postio = new PostioClient(apiKey: 'pk_…'); $res = $postio->address->search(q: '57 wimpole street'); echo $res->results[0]->suggestion; // → 57 Wimpole Street, London, W1G 8YW
RELATED