Package Data | |
---|---|
Maintainer Username: | Ben-Speakman |
Maintainer Contact: | ben@cyber-duck.co.uk (Ben Speakman) |
Package Create Date: | 2015-01-21 |
Package Last Update: | 2017-11-30 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-15 15:18:35 |
Package Statistics | |
---|---|
Total Downloads: | 303 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 4 |
Total Watchers: | 4 |
Total Forks: | 2 |
Total Open Issues: | 0 |
Laravel 5 package for the Zoopla API
Simply add the following line to your composer.json
and run install/update:
"cyberduck/laravel-zoopla": "dev-master"
Publish the package config files to configure your api keys:
php artisan vendor:publish
You will also need to add the service provider and optionally the facade alias to your app/config/app.php
:
'providers' => array(
'Cyberduck\LaravelZoopla\LaravelZooplaServiceProvider'
)
'aliases' => array(
'Zoopla' => 'Cyberduck\LaravelZoopla\Facades\Zoopla'
),
Please see the Zoopla API for full documentation.
You can either use the facade or inject the Zoopla class. The package provides a camel case interface to all the existing api methods
Zoopla::PropertyListings(['postcode' => 'WD6 3EP'])