2017 © Pedro Peláez
 

library fluent

Guzzle based PHP SDK for the Ziptastic Lookup API

image

ziptastic/fluent

Guzzle based PHP SDK for the Ziptastic Lookup API

  • Wednesday, February 8, 2017
  • by austinkregel
  • Repository
  • 2 Watchers
  • 3 Stars
  • 40 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Ziptastic PHP with Guzzle

This package was brought into existence because of this package, specifically because of the first enhancement, (*1)

This library is a Guzzle based interface for the Ziptastic API., (*2)

Using Ziptastic requires an API key, you can get one by signing up with Ziptastic., (*3)

Installing

Ziptastic PHP can be installed via composer:, (*4)

composer require ziptastic/fluent

Usage

There are two different ways to use this package with the same end result., (*5)

The first way to use this is by using Zipper which will be using a more "plain english" oriented syntax, (*6)

in('US')->withPostalCode(48867)->andWithKey($key)->find();
echo $results->response;
?>

If that isn't your cup of tea or you just want to get things done, you can use Ziptastic, (*7)

setKey($key)->find();

echo $results->response;
?>

Using results

If you wanted to, you can access any and all of the results of the api call via calling the item you want from the api response. The first way to use this is by using Zipper which will be using a more "plain english" oriented syntax, (*8)

in('US')->withPostalCode(48867)->andWithKey($key)->find();
echo $results->city, ', ',$results->state,' ',$results->postal_code;
?>

And in that example the only one set by default is the postal code, the others are from the response., (*9)

Ziptastic PHP is licensed under the MIT license., (*10)

The Versions

08/02 2017

dev-master

9999999-dev

Guzzle based PHP SDK for the Ziptastic Lookup API

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

08/02 2017

v2.1.0

2.1.0.0

Guzzle based PHP SDK for the Ziptastic Lookup API

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

08/02 2017

dev-ziptastic-move

dev-ziptastic-move

Guzzle based PHP SDK for the Ziptastic Lookup API

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

08/02 2017

v2.0.0

2.0.0.0

Guzzle based PHP SDK for the Ziptastic Lookup API

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

22/06 2016

v1.0.1

1.0.1.0

Guzzle based PHP SDK for the Ziptastic Lookup API

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

06/06 2016

v1.0.0

1.0.0.0

Guzzle based PHP SDK for the Ziptastic Lookup API

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires