Download the PHP package verticaltab/pillow without Composer

On this page you can find all versions of the php package verticaltab/pillow. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package pillow

Pillow - Zillow PHP client

This library provides a PHP interface for the Zillow API.

See: zillow.com for more information.

Currently, only these API calls are supported:
http://www.zillow.com/howto/api/GetSearchResults.htm
http://www.zillow.com/howto/api/GetChart.htm
http://www.zillow.com/howto/api/GetComps.htm

If there is one you'd really like to see implemented, you can create an issue and/or fork, implement, and submit a pull request.

Requirements

PHP >= 5.3

Installation

The preferred method of installation is composer. In you project root (not web root), create a minimum composer.json file:

{
    "require": {
        "VerticalTab/Pillow": "x.x.x"
    }
}

Replace "x.x.x" above with the tag number you want to use. Note: see VeriticalTab/Pillow Packagist page for latest release information.

Next, get composer and use it to install (again, in your project root)

$ wget http://getcomposer.org/composer.phar
$ php composer.phar install

This will put the library into your vendors directory.

Updating

To update after installation, edit the "require" section in composer.json. Then update:

$ php composer.phar update

Examples

File: simple.php

<?php
require 'vendor/autoload.php';

use VerticalTab\Pillow\Service;

$key = 'your zillow api key';
$s = new Service($key);
$results = $s->getSearchResults('2114 Bigelow Ave', '98109');
$property = $results->current();

"Results:" . PHP_EOL;
echo "zpid      : " . $property->zpid . PHP_EOL;
echo "city      : " . $property->city . PHP_EOL;

Run simple example

$ php simple.php

File: chart.php

<?php
require 'vendor/autoload.php';

use VerticalTab\Pillow\Service;

$key = 'your zillow api key';
$s = new Service($key);
$results = $s->getSearchResults('2114 Bigelow Ave', '98109');
$property = $results->current();

echo "chart url : " . $property->chart->url . PHP_EOL;

Run chart example:

$ php chart.php

File: comps.php

<?php
require 'vendor/autoload.php';

use VerticalTab\Pillow\Service;

$key = 'your zillow api key';
$s = new Service($key);
$results = $s->getSearchResults('2114 Bigelow Ave', '98109');
$property = $results->current();

foreach($property->comps as $i => $comp) {
  echo "\tcomp      : " . $i . PHP_EOL;
  echo "\tzpid      : " . $comp->zpid . PHP_EOL;
  echo "\tzestimate : " . $comp->zestimate->amount . PHP_EOL;
  echo PHP_EOL;
}

Run comps example:

$ php comps.php

All versions of pillow with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package verticaltab/pillow contains the following files

Loading the files please wait ....