henzeb / housepedia-intelligence-laravel
Laravel integration for the Housepedia Intelligence PHP SDK
Package info
github.com/henzeb/housepedia-intelligence-laravel
pkg:composer/henzeb/housepedia-intelligence-laravel
Requires
- php: ^8.3
- guzzlehttp/guzzle: ^7.8|^8.0
- henzeb/housepedia-intelligence: ^1.0
- illuminate/collections: ^12.0|^13.0
- illuminate/contracts: ^12.0|^13.0
- illuminate/support: ^12.0|^13.0
- psr/http-client: ^1.0
Requires (Dev)
- 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-08 21:39:06 UTC
README
Laravel integration for henzeb/housepedia-intelligence, the PHP SDK for the Housepedia Intelligence API. It adds configuration, a facade, container bindings and Laravel Collections for every endpoint that returns a list.
Table of contents
Installation
You may install the package via Composer:
composer require henzeb/housepedia-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\Intelligence\Laravel\Facades\Housepedia; $address = Housepedia::addresses() ->withPostcode('1076LJ', 12, '2') ->find(); $suggestions = Housepedia::addresses() ->suggest('1076LJ 12-2'); // Collection<int, AddressSuggestion> $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.
Testing this package
composer test
composer analyse
Security
If you discover any security-related issues, please email henzeberkheij@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.