PHPackages                             postio/postio - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. postio/postio

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

postio/postio
=============

PHP SDK for the Postio API — UK address, email, and phone validation. PAF + Ordnance Survey backed. PSR-18 over Guzzle.

v0.1.2(2mo ago)00MITPHP &gt;=8.1

Since May 2Compare

[ Source](https://github.com/postio-uk/postio-php)[ Packagist](https://packagist.org/packages/postio/postio)[ Docs](https://postio.co.uk)[ RSS](/packages/postio-postio/feed)WikiDiscussions Synced 3w ago

READMEChangelogDependencies (4)Versions (5)Used By (0)

Postio PHP SDK
==============

[](#postio-php-sdk)

[![Packagist](https://camo.githubusercontent.com/ee929f1cef97fcc289746c20e8b60eae236d513ca1e07511f3ead2fa8f994e59/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f706f7374696f2f706f7374696f2e737667)](https://packagist.org/packages/postio/postio)[![PHP Version](https://camo.githubusercontent.com/5a459bb1a179f39aad089dec44e67d7a4e1d406361ec4cd4a1f848c8dcc6aa73/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f706f7374696f2f706f7374696f2e737667)](https://packagist.org/packages/postio/postio)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

PHP SDK for [Postio](https://postio.co.uk) — the UK validation API for addresses, emails and phone numbers. PSR-18 over Guzzle, typed `readonly`value objects. Backed by Royal Mail PAF and Ordnance Survey.

> **First time?** [Sign up free](https://postio.co.uk) — first 100 lookups on us, no card needed.

Install
-------

[](#install)

```
composer require postio/postio
```

Requires PHP 8.1+.

30-second example
-----------------

[](#30-second-example)

```
