PHPackages                             ghazanfarmir/laravel-companies-house - 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. ghazanfarmir/laravel-companies-house

ActiveLibrary[API Development](/categories/api)

ghazanfarmir/laravel-companies-house
====================================

This the Laravel Service Provider package to access CompaniesHouse API within your Laravel application.

0.10.0(6y ago)136.9k15[1 issues](https://github.com/ghazanfarmir/laravel-companies-house/issues)[3 PRs](https://github.com/ghazanfarmir/laravel-companies-house/pulls)MITPHPPHP ^7.2CI failing

Since Aug 30Pushed 2y ago2 watchersCompare

[ Source](https://github.com/ghazanfarmir/laravel-companies-house)[ Packagist](https://packagist.org/packages/ghazanfarmir/laravel-companies-house)[ RSS](/packages/ghazanfarmir-laravel-companies-house/feed)WikiDiscussions master Synced yesterday

READMEChangelog (8)Dependencies (2)Versions (11)Used By (0)

Laravel Companies House
=======================

[](#laravel-companies-house)

[![Build Status](https://camo.githubusercontent.com/abf75ef884db11749fb9c0b0b3c345bdbc12ec4ecf0d57b82843cb30a1eed15c/68747470733a2f2f7472617669732d63692e6f72672f4768617a616e6661724d69722f6c61726176656c2d636f6d70616e6965732d686f7573652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ghazanfarmir/laravel-companies-house)[![StyleCI](https://camo.githubusercontent.com/70f78c9d685cceba723132c2263b05d7bb82de3a3782f75623a931b87b0ecda0/68747470733a2f2f7374796c6563692e696f2f7265706f732f3130303035373839352f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/100057895)[![License](https://camo.githubusercontent.com/62882634c8fe0873e493997c5cfa30e21c78680d29d0450622d1520d75f87c50/68747470733a2f2f706f7365722e707567782e6f72672f6768617a616e6661726d69722f6c61726176656c2d636f6d70616e6965732d686f7573652f6c6963656e7365)](https://packagist.org/packages/ghazanfarmir/laravel-companies-house)[![Latest Stable Version](https://camo.githubusercontent.com/b72ccc90b1c9711f522ef221bdbe548082c77f7875fac48b79c02cace1e1797a/68747470733a2f2f706f7365722e707567782e6f72672f6768617a616e6661726d69722f6c61726176656c2d636f6d70616e6965732d686f7573652f762f737461626c65)](https://packagist.org/packages/ghazanfarmir/laravel-companies-house)[![Total Downloads](https://camo.githubusercontent.com/2901d71e53a66a859af2e7c54e39978e6ef1f235a7209f3f9b5c8c7c3aa55e17/68747470733a2f2f706f7365722e707567782e6f72672f6768617a616e6661726d69722f6c61726176656c2d636f6d70616e6965732d686f7573652f646f776e6c6f616473)](https://packagist.org/packages/ghazanfarmir/laravel-companies-house)

This Laravel Package implements an API client for the Companies House REST API. It can be used to look up information about companies registered in the United Kingdom. As of July 2016, this API is described by Companies House as a "beta service." More information about this free API can be found [on the Companies House API website](https://developer.companieshouse.gov.uk/api/docs/index.html).

**Please note, this package is still under development and isn't ready for production yet. Once ready, I will remove this warning; so keep looking at this space.**

Installation
------------

[](#installation)

To install, use the following to pull the package via Composer.

```
composer require ghazanfarmir/laravel-companies-house
```

Now register the Service Provider in config/app.php

```
'providers' => [

    ...

    GhazanfarMir\CompaniesHouse\CompaniesHouseServiceProvider::class,
],
```

And also add the alias to the same file.

```
'aliases' => [

    ...

    'CompaniesHouse' => GhazanfarMir\CompaniesHouse\Facades\CompaniesHouse::class,
],
```

Finally publish the config file.

```
php artisan vendor:publish
```

How to use?
-----------

[](#how-to-use)

```
use GhazanfarMir\CompaniesHouse\Facades\CompaniesHouse;
```

#### Search

[](#search)

```
CompaniesHouse::search()->all('Ebury');
CompaniesHouse::search()->companies('Ebury');
CompaniesHouse::search()->officers('Ebury');
CompaniesHouse::search()->disqualified_officers('Ebury');
```

#### Companies

[](#companies)

```
CompaniesHouse::company('07086058'); // returns an object
CompaniesHouse::company('07086058')->get();
CompaniesHouse::company('07086058')->registered_office_address();
CompaniesHouse::company('07086058')->officers();
CompaniesHouse::company('07086058')->insolvency();
CompaniesHouse::company('07086058')->establishments();
CompaniesHouse::company('07086058')->registers(); // returns 404
CompaniesHouse::company('07086058')->excemptions();
```

#### Charges

[](#charges)

```
CompaniesHouse::charges('07086058')->all();
CompaniesHouse::charges('07086058')->find(chargesId);
```

#### Filing History

[](#filing-history)

```
CompaniesHouse::filingHistory('07086058')->all();
CompaniesHouse::filingHistory('07086058')->find('MzE4MjE3NzM2MGFkaXF6a2N4');
```

Configuration
-------------

[](#configuration)

### Obtaining the CompaniesHouse API Key

[](#obtaining-the-companieshouse-api-key)

- You will need to register an application with **CompaniesHouse** by visiting .
- then get API Key which can be used within your Laravel Application in config/companies.php.

Companies House API (Beta release)
----------------------------------

[](#companies-house-api-beta-release)

- [Getting started](https://developer.companieshouse.gov.uk/api/docs/)
- [Authorisation](https://developer.companieshouse.gov.uk/api/docs/index/gettingStarted/apikey_authorisation.html)
- [Rate Limitation](https://developer.companieshouse.gov.uk/api/docs/index/gettingStarted/rateLimiting.html)

Questions
---------

[](#questions)

Feel free to submit an issue if you have any issues.

Contributing
------------

[](#contributing)

- Fork it!
- Create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -m 'Add some feature'
- Push to the branch: git push -u origin my-new-feature
- Submit a pull request - cheers!

License
-------

[](#license)

MIT License 2017 - Ghazanfar Mir

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.3% 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 ~135 days

Recently: every ~236 days

Total

8

Last Release

2281d ago

PHP version history (3 changes)v0.1-betaPHP ^5.3.3 || ^7.0

0.6.0PHP ^7.3

0.10.0PHP ^7.2

### Community

Maintainers

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

---

Top Contributors

[![GhazanfarMir](https://avatars.githubusercontent.com/u/488577?v=4)](https://github.com/GhazanfarMir "GhazanfarMir (173 commits)")[![lukio3](https://avatars.githubusercontent.com/u/21043078?v=4)](https://github.com/lukio3 "lukio3 (2 commits)")[![matthewnw](https://avatars.githubusercontent.com/u/4819352?v=4)](https://github.com/matthewnw "matthewnw (1 commits)")

---

Tags

companies-houselaravellaravel-companies-houselaravelcompanies house

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ghazanfarmir-laravel-companies-house/health.svg)

```
[![Health](https://phpackages.com/badges/ghazanfarmir-laravel-companies-house/health.svg)](https://phpackages.com/packages/ghazanfarmir-laravel-companies-house)
```

###  Alternatives

[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816334.1k3](/packages/defstudio-telegraph)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5022.0k](/packages/simplestats-io-laravel-client)[riclep/laravel-storyblok

A Laravel wrapper around the Storyblok API to provide a familiar experience for Laravel devs

6279.6k5](/packages/riclep-laravel-storyblok)

PHPackages © 2026

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