harrystays / CompaniesLookup

:office: Simple and fast tool to find companies from Companies House database (with their Company Number or Company Name).

Home Page:https://github.com/pH-7/CompaniesLookup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

:office: Simple and fast tool to find companies from Companies House database (with their Company Number or Company Name).

https://github.com/pH-7/CompaniesLookup


Languages

Language:PHP 96.2%Language:Shell 3.8%