Skip to content

pH-7/CompaniesLookup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CompaniesLookup

Simple and fast tool to find companies (from their Company Number or Company Name).

I realized there was no such console tools for finding a company from Companies House database (similar to the Unix whois command for finding the domain names' details).

Find Companies with console interface

Steup

$ composer install
  • Rename .env.example to .env
$ mv .env.example .env
$ nano .env
  • Add the Companies House API Key between the double quote " "

  • Change the permissions of the companies bash file (if you use the bash shortcut file)

$ chmod u+x ./companies
  • Run the script:
$ ./companies <COMPANY_NAME / COMPANY_ID>

OR

php bin/companies companies:search <COMPANY_NAME / COMPANY_ID>

Example to find HSBC company

With the Company Name:

$ ./companies HSBC

Or with the Company ID:

$ ./companies 06388542
  • Enjoy!

Companies House Lookup, real example

Requirements

About me

I'm Pierre-Henry Soria, Software Engineer (love that!) and also passionate about marketing and e-businesses.

Where to contact me?

You can by email at pierrehenrysoria+github [[AT]] gmail [[D0T]] com

License

Under General Public License 3 or later.