承接 ghazanfarmir/laravel-companies-house 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

ghazanfarmir/laravel-companies-house

Composer 安装命令:

composer require ghazanfarmir/laravel-companies-house

包简介

This the Laravel Service Provider package to access CompaniesHouse API within your Laravel application.

README 文档

README

Build Status StyleCI License Latest Stable Version Total Downloads

This Laravel Package implements an API client for the Companies House REST API. It can be used to look up information about companies registered in the United Kingdom. As of July 2016, this API is described by Companies House as a "beta service." More information about this free API can be found on the Companies House API website.

Please note, this package is still under development and isn't ready for production yet. Once ready, I will remove this warning; so keep looking at this space.

Installation

To install, use the following to pull the package via Composer.

composer require ghazanfarmir/laravel-companies-house

Now register the Service Provider in config/app.php

'providers' => [
    
    ...
    
    GhazanfarMir\CompaniesHouse\CompaniesHouseServiceProvider::class,
],

And also add the alias to the same file.

'aliases' => [
    
    ...
    
    'CompaniesHouse' => GhazanfarMir\CompaniesHouse\Facades\CompaniesHouse::class,
],

Finally publish the config file.

php artisan vendor:publish

How to use?

use GhazanfarMir\CompaniesHouse\Facades\CompaniesHouse;

Search

CompaniesHouse::search()->all('Ebury');
CompaniesHouse::search()->companies('Ebury');
CompaniesHouse::search()->officers('Ebury');
CompaniesHouse::search()->disqualified_officers('Ebury');

Companies

CompaniesHouse::company('07086058'); // returns an object
CompaniesHouse::company('07086058')->get();
CompaniesHouse::company('07086058')->registered_office_address();
CompaniesHouse::company('07086058')->officers();
CompaniesHouse::company('07086058')->insolvency();
CompaniesHouse::company('07086058')->establishments();
CompaniesHouse::company('07086058')->registers(); // returns 404
CompaniesHouse::company('07086058')->excemptions();

Charges

CompaniesHouse::charges('07086058')->all();
CompaniesHouse::charges('07086058')->find(chargesId);

Filing History

CompaniesHouse::filingHistory('07086058')->all();
CompaniesHouse::filingHistory('07086058')->find('MzE4MjE3NzM2MGFkaXF6a2N4');

Configuration

Obtaining the CompaniesHouse API Key

Companies House API (Beta release)

Questions

Feel free to submit an issue if you have any issues.

Contributing

  • Fork it!
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -m 'Add some feature'
  • Push to the branch: git push -u origin my-new-feature
  • Submit a pull request - cheers!

License

MIT License 2017 - Ghazanfar Mir

统计信息

  • 总下载量: 6.93k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 13
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 13
  • Watchers: 2
  • Forks: 15
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-08-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固