henzeb / housepedia-data-intelligence-laravel
Laravel integration for the Housepedia Data Intelligence PHP SDK
Package info
github.com/henzeb/housepedia-data-intelligence-laravel
pkg:composer/henzeb/housepedia-data-intelligence-laravel
Requires
- php: ^8.3
- guzzlehttp/guzzle: ^7.8|^8.0
- henzeb/housepedia-data-intelligence: ^1.0
- illuminate/collections: ^12.0|^13.0
- illuminate/contracts: ^12.0|^13.0
- illuminate/http: ^12.0|^13.0
- illuminate/support: ^12.0|^13.0
- psr/http-client: ^1.0
Requires (Dev)
- laravel/pint: ^1.30
- mockery/mockery: ^1.6.13
- orchestra/testbench: ^10.0|^11.0
- pestphp/pest: ^4.0|^5.0
- pestphp/pest-plugin-laravel: ^4.0|^5.0
- php-http/mock-client: ^1.6.1
- phpstan/phpstan: ^2.1
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-21 12:47:12 UTC
README
Laravel integration for henzeb/housepedia-data-intelligence, the PHP SDK for the Housepedia Data Intelligence API. It adds configuration, a facade, container bindings and Laravel Collections with the metadata of the answer for every endpoint that returns a list.
Table of contents
Installation
You may install the package via Composer:
composer require henzeb/housepedia-data-intelligence-laravel
The core SDK is installed with it, and the service provider and the Housepedia facade
are registered automatically. Add your API key to .env:
HOUSEPEDIA_API_KEY=hp_...
Usage
use Henzeb\Housepedia\Data\Intelligence\Laravel\Facades\Housepedia; $address = Housepedia::addresses() ->withPostcode('1076LJ', 12, '2') ->find(); $suggestions = Housepedia::addresses() ->suggest('1076LJ 12-2'); // Results<AddressSuggestion>, a Laravel Collection with meta() $streets = $suggestions->map->street()->filter()->unique();
Documentation
Every endpoint, locator, response object and exception is documented in the core SDK documentation.
AI agents
The package ships Laravel Boost guidelines. Run
php artisan boost:install (or boost:update) after installing it, and your coding agent
knows how to use the Housepedia client.
Changelog
See CHANGELOG.md.
Testing this package
composer test
composer analyse
composer format-check
Security
See SECURITY.md for how to report a vulnerability.
Credits
License
The MIT License (MIT). Please see License File for more information.