yajra/zillow is a Laravel package for laravel wrapper for zillow api.
It currently has 15 GitHub stars and 406 downloads on Packagist (latest version v2.0.5).
Install it with composer require yajra/zillow.
Discover more Laravel packages by yajra
or browse all Laravel packages to compare alternatives.
Last updated
A simple Laravel Wrapper for the Zillow API services.
depends on PHP 5.4+, Goutte 2.0+, Guzzle 4+.
Add yajra/zillow as a require dependency in your composer.json file:
composer require yajra/zillow:~3.0
In your config/app.php add Yajra\Zillow\ZillowServiceProvider to the end of the providers array
'providers' => [
'Illuminate\Auth\AuthServiceProvider',
...
'Yajra\Zillow\ZillowServiceProvider',
],
At the end of config/app.php add Zillow => Yajra\Zillow\Facades\Zillow to the aliases array
'aliases' => [
'App' => 'Illuminate\Support\Facades\App',
'Artisan' => 'Illuminate\Support\Facades\Artisan',
...
'Zillow' => 'Yajra\Zillow\Facades\Zillow',
],
Lastly, publish the config file (Optional):
$ php artisan vendor:publish
Then set your Zillow Web Services ID (ZWSID) by updating the zws-id value in config/zillow.php.
You can also set ZWSID key on your env file and skip the publishing of config.
Make requests with a specific API call method:
$params = [
'address' => '5400 Tujunga Ave',
'citystatezip' => 'North Hollywood, CA 91601'
];
// Run GetSearchResults
$response = Zillow::getSearchResults($params);
Any Zillow API call will work. Valid callbacks are:
MIT license.
This package was inspired by Zillow, PHP Wrapper