PHPackages                             netsensia/companieshouse-api-php-client - 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. netsensia/companieshouse-api-php-client

ActiveLibrary

netsensia/companieshouse-api-php-client
=======================================

API Wrapper for the Companies House API

v0.3.1(9y ago)87.2k↓11.4%4MITPHPPHP &gt;=5.4.0

Since Feb 2Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Netsensia/companieshouse-api-php-client)[ Packagist](https://packagist.org/packages/netsensia/companieshouse-api-php-client)[ RSS](/packages/netsensia-companieshouse-api-php-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

Companies House API PHP Client
==============================

[](#companies-house-api-php-client)

You will need an API key to use this client. To get an API key, go to [https://developer.companieshouse.gov.uk/api/docs/index/gettingStarted/apikey\_authorisation.html](https://developer.companieshouse.gov.uk/api/docs/index/gettingStarted/apikey_authorisation.html)

Add to project using Composer
-----------------------------

[](#add-to-project-using-composer)

```
"require" : {
  "netsensia/companieshouse-api-php-client" : "~0.1.0"
},

```

Usage
-----

[](#usage)

```
$client = new Client($apiKey);
$profile = $client->getCompanyProfile($companyNumber);
$profile->getCompanyProfile('06236637')->registered_office_address->address_line_1;

$officerList = $client->getOfficerList($companyNumber);

$companyList = $client->companySearch('netsen');

```

A full list of available calls can be found by examining the ClientSpec.php file which contains the spec tests. The *json* directory contains examples of the data returned by the Companies House API.

Development
-----------

[](#development)

### Clone the repo and compose

[](#clone-the-repo-and-compose)

```
git clone git@github.com:netsensia/companieshouse-api-php-client
cd companieshouse-api-php-client
php composer.phar install

```

### Run the tests

[](#run-the-tests)

Create a file called .apiKey in the root of the project and add your companies house api key to it.

```
bin/phpspec run --format=pretty -vvv --stop-on-failure

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

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 ~132 days

Total

4

Last Release

3359d ago

### Community

Maintainers

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

---

Top Contributors

[![chris-moreton](https://avatars.githubusercontent.com/u/1436601?v=4)](https://github.com/chris-moreton "chris-moreton (13 commits)")

### Embed Badge

![Health badge](/badges/netsensia-companieshouse-api-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/netsensia-companieshouse-api-php-client/health.svg)](https://phpackages.com/packages/netsensia-companieshouse-api-php-client)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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