PHPackages                             alphazygma/usps-zonechart-php - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. alphazygma/usps-zonechart-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

alphazygma/usps-zonechart-php
=============================

Provide zone identification between Source and Target Destination.

1.0(9y ago)0728LGPL-3.0+PHPPHP &gt;=5.4

Since Nov 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/alphazygma/usps-zonechart-php)[ Packagist](https://packagist.org/packages/alphazygma/usps-zonechart-php)[ RSS](/packages/alphazygma-usps-zonechart-php/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/cb7c1a2dd6295cb6dc0be20b94e1d981d9045248dc0b525df59490db621ecdc9/68747470733a2f2f706f7365722e707567782e6f72672f616c7068617a79676d612f757370732d7a6f6e6563686172742d7068702f762f737461626c65)](https://packagist.org/packages/alphazygma/usps-zonechart-php)[![Build Status](https://camo.githubusercontent.com/08843abc37f3ac663809a3b4d7bd5c194ec31f8c7e02e2ff36815031e36d7821/68747470733a2f2f7472617669732d63692e6f72672f616c7068617a79676d612f757370732d7a6f6e6563686172742d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/alphazygma/usps-zonechart-php)[![Coverage Status](https://camo.githubusercontent.com/67dfeb72a99cb453ab1d3a900aee4d174d6ea2a37b67b0a8984504d7cef679e4/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f616c7068617a79676d612f757370732d7a6f6e6563686172742d7068702f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/alphazygma/usps-zonechart-php?branch=master)[![Total Downloads](https://camo.githubusercontent.com/84ad9684c746a8c1551e2ad4f81d606d33ce0cfa81bee070ed34a52fef1acb33/68747470733a2f2f706f7365722e707567782e6f72672f616c7068617a79676d612f757370732d7a6f6e6563686172742d7068702f646f776e6c6f616473)](https://packagist.org/packages/alphazygma/usps-zonechart-php)[![Latest Unstable Version](https://camo.githubusercontent.com/3b1a5430bcd5951f4d5cbadb235df47c3d766b54eb4bb5e123fac0a9ab52970d/68747470733a2f2f706f7365722e707567782e6f72672f616c7068617a79676d612f757370732d7a6f6e6563686172742d7068702f762f756e737461626c65)](https://packagist.org/packages/alphazygma/usps-zonechart-php)[![License](https://camo.githubusercontent.com/9d89fcd7b17734117ca6722c212e8418a42262235d4422a40ee81f3697ccdae0/68747470733a2f2f706f7365722e707567782e6f72672f616c7068617a79676d612f757370732d7a6f6e6563686172742d7068702f6c6963656e7365)](https://packagist.org/packages/alphazygma/usps-zonechart-php)

USPS ZoneChart (for PHP)
========================

[](#usps-zonechart-for-php)

Provide zone identification between Source and Target Destination

Requirements
------------

[](#requirements)

PHP 5.5+ is required. (*The `[]` short array syntax was introduced on [5.4](http://php.net/manual/en/migration54.new-features.php%3E), and GuzzleHttp 6 is not compatible with PHP 5.4*)

Disclaimer
----------

[](#disclaimer)

The ConfigGenerator and the helper tool to run the generator does not have unittests, however, since these are not intended for library use, but more for updating the JSON configuration files if USPS updates their charts because new ZipCodes are added to the US.

As such, these files are not included for test coverage purposes.

Changelog
---------

[](#changelog)

- 1.0 Retrieve a Zone for a given source/destination ZipCodes

Usage
-----

[](#usage)

*This usage considers that you have an autoloader running*. (see [Install](#Install) for more reference)

```
