camilord/nz-companies-register 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

camilord/nz-companies-register

Composer 安装命令:

composer require 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 y

README 文档

README

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. :)

Usage:

Add this package to your project's composer.json...

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

Usage:

use camilord\NZCompaniesRegister\NZCompaniesRegister;

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

Full sample codes, see sample.php

Sample Output:

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
        )

)

统计信息

  • 总下载量: 25
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-02-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固