Sub-20ms UK Companies House data, address sanitization, GPS geocoding, and director KYB for Laravel applications.

The Problem

Querying official registry APIs directly can be slow, requires handling inconsistent historical address formatting across filings, and lacks geographic context like GPS coordinates out of the box.

The Solution

I built jamesforsyth/laravel-uk-kyb-edge, an open-source Laravel package wrapping a Cloudflare Workers edge backend.

Key Features

  • Sub-20ms Edge Caching: Fast response times proxied through Cloudflare Workers.
  • Address Sanitization & GPS: Converts messy address strings into clean Title Case and appends latitude/longitude coordinates.
  • Director KYB: Categorizes active and resigned board members into structured PHP collections.
  • Native Laravel DX: Built for Laravel 9, 10, and 11 with auto-discovery and Facade support.

Installation

composer require jamesforsyth/laravel-uk-kyb-edge 

Basic Usage

use JamesForsyth\UKBusiness\Facades\UKBusiness; // Lookup company data & GPS coordinates $company = UKBusiness::lookup('00000000'); $address =$company['data']['registered_address']; // Search & sanitize $result = UKBusiness::sanitize('Monzo Bank'); // Director KYB $officers = UKBusiness::officers('00000000'); 

Links

Feedback and pull requests are welcome!