{"id":15025413,"url":"https://github.com/ph-7/companieslookup","last_synced_at":"2025-04-09T20:03:46.087Z","repository":{"id":144638217,"uuid":"79676161","full_name":"pH-7/CompaniesLookup","owner":"pH-7","description":":office: Simple and fast tool to find companies from Companies House database (with their Company Number or Company Name).","archived":false,"fork":false,"pushed_at":"2017-01-23T18:12:27.000Z","size":582,"stargazers_count":12,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T20:03:38.582Z","etag":null,"topics":["companies-house","companies-house-api","companieshouse","companieshouse-api","companieshouse-lookup","company-lookup","console","lookup","php","php-7","search-companies-house","uk-companies-lookup","uk-companies-search","uk-company-lookup"],"latest_commit_sha":null,"homepage":"https://github.com/pH-7/CompaniesLookup","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pH-7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"phenry","github":"pH-7"}},"created_at":"2017-01-21T22:13:46.000Z","updated_at":"2025-01-06T02:54:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"222e7f44-99b0-4eda-ad88-2712085e72b6","html_url":"https://github.com/pH-7/CompaniesLookup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pH-7%2FCompaniesLookup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pH-7%2FCompaniesLookup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pH-7%2FCompaniesLookup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pH-7%2FCompaniesLookup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pH-7","download_url":"https://codeload.github.com/pH-7/CompaniesLookup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103864,"owners_count":21048245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["companies-house","companies-house-api","companieshouse","companieshouse-api","companieshouse-lookup","company-lookup","console","lookup","php","php-7","search-companies-house","uk-companies-lookup","uk-companies-search","uk-company-lookup"],"created_at":"2024-09-24T20:02:18.334Z","updated_at":"2025-04-09T20:03:46.074Z","avatar_url":"https://github.com/pH-7.png","language":"PHP","funding_links":["https://ko-fi.com/phenry","https://github.com/sponsors/pH-7"],"categories":[],"sub_categories":[],"readme":"# CompaniesLookup\n\nSimple and fast tool to find companies (from their *Company Number* or *Company Name*).\n\nI realized there was no such console tools for finding a company from [Companies House](https://www.gov.uk/government/organisations/companies-house) database (similar to the *Unix whois command* for finding the domain names' details).\n\n![Find Companies with console interface](assets/companies-lookup-example.png)\n\n\n## Steup\n\n* Be sure PHP 7.0 or higher is installed\n\n* Install Composer (https://getcomposer.org)\n\n* Then run:\n\n```bash\n$ composer install\n```\n\n* Rename `.env.example` to `.env`\n\n```bash\n$ mv .env.example .env\n```\n\n* Request your Companies House API key =\u003e https://developer.companieshouse.gov.uk/developer/applications\n\n* Open the file (with your favourite text editor)\n\n```bash\n$ nano .env\n```\n\n* Add the Companies House API Key between the double quote `\"` `\"`\n\n* Change the permissions of the `companies` bash file (if you use the bash shortcut file)\n\n```bash\n$ chmod u+x ./companies\n```\n\n* Run the script:\n\n```bash\n$ ./companies \u003cCOMPANY_NAME / COMPANY_ID\u003e\n```\nOR\n```bash\nphp bin/companies companies:search \u003cCOMPANY_NAME / COMPANY_ID\u003e\n```\n\n#### Example to find HSBC company\n\nWith the Company Name:\n\n```bash\n$ ./companies HSBC\n```\n\nOr with the Company ID:\n\n```bash\n$ ./companies 06388542\n```\n\n* Enjoy!\n\n![Companies House Lookup, real example](assets/CompaniesHouseLookup.gif)\n\n\n## Requirements\n\n* PHP 7.0 or higher\n* [Composer](https://getcomposer.org)\n* [Companies House API key](https://developer.companieshouse.gov.uk/developer/signin)\n\n\n## About me\n\nI'm **Pierre-Henry Soria**, Software Engineer (love that!) and also passionate about marketing and e-businesses.\n\n\n## Where to contact me?\n\nYou can by email at **pierrehenrysoria+github [[AT]] gmail [[D0T]] com**\n\n\n## License\n\nUnder [General Public License 3](http://www.gnu.org/licenses/gpl.html) or later.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fph-7%2Fcompanieslookup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fph-7%2Fcompanieslookup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fph-7%2Fcompanieslookup/lists"}