PHPackages                             levelfiveteam/govuk-companieshouse-php-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. levelfiveteam/govuk-companieshouse-php-sdk

ActiveLibrary[API Development](/categories/api)

levelfiveteam/govuk-companieshouse-php-sdk
==========================================

Companies House PHP SDK

v1.1(6y ago)05[2 PRs](https://github.com/levelfiveteam/govuk-companieshouse-php-sdk/pulls)MITPHPPHP ^7.3

Since Jan 23Pushed 3y agoCompare

[ Source](https://github.com/levelfiveteam/govuk-companieshouse-php-sdk)[ Packagist](https://packagist.org/packages/levelfiveteam/govuk-companieshouse-php-sdk)[ RSS](/packages/levelfiveteam-govuk-companieshouse-php-sdk/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (10)Versions (5)Used By (0)

Companies House PHP SDK Kit
===========================

[](#companies-house-php-sdk-kit)

This is the Companies House integration using PHP.

This repository is actively used in projects, and we will be maintaining it regularly.

[![Build Status](https://camo.githubusercontent.com/61355b933c95781750493a79090b84a83423251cb545564accfb589f229cfcee/68747470733a2f2f7472617669732d63692e636f6d2f6c6576656c666976657465616d2f676f76756b2d636f6d70616e696573686f7573652d7068702d73646b2e7376673f746f6b656e3d343241396538597a394843487567595657797a57266272616e63683d6d6173746572)](https://travis-ci.com/levelfiveteam/govuk-companieshouse-php-sdk)[![Total Downloads](https://camo.githubusercontent.com/0d8e8bdf51617964f522c0eb024517b008fefd8199828614893d184720fd9455/68747470733a2f2f706f7365722e707567782e6f72672f6c6576656c666976657465616d2f676f76756b2d636f6d70616e696573686f7573652d7068702d73646b2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/levelfiveteam/govuk-companieshouse-php-sdk)[![Latest Stable Version](https://camo.githubusercontent.com/ba13c89647c4998b69a756ca6dc2cd111b6cb8c5d7afff3e69638c08036505ba/68747470733a2f2f706f7365722e707567782e6f72672f6c6576656c666976657465616d2f676f76756b2d636f6d70616e696573686f7573652d7068702d73646b2f762f737461626c652e706e67)](https://packagist.org/packages/levelfiveteam/govuk-companieshouse-php-sdk)[![Latest Unstable Version](https://camo.githubusercontent.com/943323d05a9757578f646351f43fe8b8c4b273219de5449f2362e4f952a25ae2/68747470733a2f2f706f7365722e707567782e6f72672f6c6576656c666976657465616d2f676f76756b2d636f6d70616e696573686f7573652d7068702d73646b2f762f756e737461626c652e706e67)](https://packagist.org/packages/levelfiveteam/govuk-companieshouse-php-sdk)[![Coverage Status](https://camo.githubusercontent.com/8aef9b8b9df671b7625c83cb48754202b9741c16f3a0a8331c2d217a4dd48651/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6c6576656c666976657465616d2f676f76756b2d636f6d70616e696573686f7573652d7068702d73646b2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/levelfiveteam/govuk-companieshouse-php-sdk?branch=master)[![License](https://camo.githubusercontent.com/48853abd1479c38dedc6e6e9d8467bac43c377288267ef8b2ec17169c441ddf6/68747470733a2f2f706f7365722e707567782e6f72672f6c6576656c666976657465616d2f676f76756b2d636f6d70616e696573686f7573652d7068702d73646b2f6c6963656e73652e706e67)](https://packagist.org/packages/levelfiveteam/govuk-companieshouse-php-sdk)

Instructions
------------

[](#instructions)

This is the Companies House PHP SDK Kit that allows you to provide a full facility to access companies house, and verify companies.

1. Simply set your application to store the service as a factory;

```
$companiesHouse = new CompaniesHouse('api_key');

```

2. Create commands and queries as and when you need to (example below returns back a response to give you the API Version);

*Example query:*

```
$response = $companiesHouse->handle(new GetCompanyByCompanyNumber(['company_number' => '12341234']));

```

*Example Command:*

```
$command = new GetCompanyByCompanyNumber(['company_number' => '12341234']);
$company = $companiesHouse->handle($command);

```

You will not need to validate data using this service. Validation happens at the command level. Any validation errors will return as a `DomainException` with a json error message.

The valid response will be an immutable object, with the option to see the the full response.

Important note; we are actively adding new commands.

Submitting bugs and feature requests
------------------------------------

[](#submitting-bugs-and-feature-requests)

Bugs and feature requests are tracked on [GitHub](https://github.com/levelfiveteam/govuk-companieshouse-php-sdk/issues).

We are actively updating the SDK Kit.

### Licence

[](#licence)

You are free to reuse and adapt this content with credit, for non-commercial purposes. Please review License for further information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2299d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ee17ca4e9e509e90e7bfd71218f717d868d65deca8c9cb324eb83cb07a9c333b?d=identicon)[levelfivehub](/maintainers/levelfivehub)

---

Top Contributors

[![levelfivehub](https://avatars.githubusercontent.com/u/7773587?v=4)](https://github.com/levelfivehub "levelfivehub (33 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/levelfiveteam-govuk-companieshouse-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/levelfiveteam-govuk-companieshouse-php-sdk/health.svg)](https://phpackages.com/packages/levelfiveteam-govuk-companieshouse-php-sdk)
```

###  Alternatives

[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
