2017 © Pedro Peláez
 

library nz-companies-register

This helper package/component is useful when you have a form needs with real and valid NZ company names. I created this because MBIE don't have a working API yet. So this component will use their web search function and scrape the search result data into reusable output, ARRAY. Hope this will save your time and effort writing the same thing.

image

camilord/nz-companies-register

This helper package/component is useful when you have a form needs with real and valid NZ company names. I created this because MBIE don't have a working API yet. So this component will use their web search function and scrape the search result data into reusable output, ARRAY. Hope this will save your time and effort writing the same thing.

  • Sunday, February 25, 2018
  • by camilo3rd
  • Repository
  • 0 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

NZ Companies Register API

This helper package/component is useful when you have a form needs with real and valid NZ company names. I created this because MBIE don't have a working API yet. So this component will use their web search function and scrape the search result data into reusable output, ARRAY. Hope this will save your time and effort writing the same thing. :), (*1)

Usage:, (*2)

Add this package to your project's composer.json..., (*3)

{
    "require": {
        "camilord/nz-companies-register": "1.*"
    }
}

Usage:, (*4)

use camilord\NZCompaniesRegister\NZCompaniesRegister;

$obj = new NZCompaniesRegister();
$result = $obj->search('bluehorn');

Full sample codes, see sample.php, (*5)

Sample Output:, (*6)

Array
(
    [0] => Array
        (
            [name] => BLUE HORN LIMITED
            [registry_notes] => Array
                (
                )

            [registration_number] => 1947993
            [nzbn] => 9429033362823
            [status] => registered
        )

    [1] => Array
        (
            [name] => BLUE HORNET LIMITED
            [registry_notes] => Array
                (
                )

            [registration_number] => 1756390
            [nzbn] => 9429034351635 (removed)
            [status] => registered
        )

)

The Versions

25/02 2018

dev-master

9999999-dev https://github.com/camilord/NZ-Companies-Register

This helper package/component is useful when you have a form needs with real and valid NZ company names. I created this because MBIE don't have a working API yet. So this component will use their web search function and scrape the search result data into reusable output, ARRAY. Hope this will save your time and effort writing the same thing.

  Sources   Download

MIT

nz companies search nz companies register nz companies search api nz companies register api nz business search nz business search api

25/02 2018

1.0.2

1.0.2.0 https://github.com/camilord/NZ-Companies-Register

This helper package/component is useful when you have a form needs with real and valid NZ company names. I created this because MBIE don't have a working API yet. So this component will use their web search function and scrape the search result data into reusable output, ARRAY. Hope this will save your time and effort writing the same thing.

  Sources   Download

MIT

nz companies search nz companies register nz companies search api nz companies register api nz business search nz business search api

25/02 2018

1.0.1

1.0.1.0 https://github.com/camilord/NZ-Companies-Register

Extended FPDF include FPDF, FPDF Protection, HTML2PDF, etc

  Sources   Download

MIT

nz companies search nz companies register nz companies search api nz companies register api nz business search nz business search api

25/02 2018

1.0.0

1.0.0.0 https://github.com/camilord/NZ-Companies-Register

Extended FPDF include FPDF, FPDF Protection, HTML2PDF, etc

  Sources   Download

MIT

nz companies search nz companies register nz companies search api nz companies register api nz business search nz business search api