PHPackages                             zipcodestack/zipcodestack-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. [API Development](/categories/api)
4. /
5. zipcodestack/zipcodestack-php

ActiveLibrary[API Development](/categories/api)

zipcodestack/zipcodestack-php
=============================

PHP client for the zipcodestack.com API

v0.1.1(7mo ago)01MITPHPPHP ^8.0

Since Sep 30Pushed 7mo agoCompare

[ Source](https://github.com/everapihq/zipcodestack-php)[ Packagist](https://packagist.org/packages/zipcodestack/zipcodestack-php)[ Docs](https://zipcodestack.com/)[ RSS](/packages/zipcodestack-zipcodestack-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

zipcodestack-php
----------------

[](#zipcodestack-php)

Official PHP client for the zipcodestack.com API.

- **Website**: [zipcodestack.com](https://zipcodestack.com/)
- **API**: search zip/postal codes, compute distances, check API status
- **License**: MIT

### Installation

[](#installation)

Install via Composer:

```
composer require zipcodestack/zipcodestack-php
```

Requires PHP 8.0+.

### Authentication

[](#authentication)

Provide your API key via constructor or environment variable `ZIPCODESTACK_API_KEY`. By default, the client authenticates with an `apikey` header. You can switch to query param auth.

```
