承接 webeau/overheid-io 相关项目开发

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

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

webeau/overheid-io

Composer 安装命令:

composer require webeau/overheid-io

包简介

PHP wrapper for Overheid.io

README 文档

README

Require this package via composer.

composer require webeau/overheid-io

For all options visit: https://overheid.io/documentatie

Examples Kvk API

use Webeau\Ovio\Kvk;
 
// Initiation with API key from overheid.io
$ovio = new Kvk($api_key);
 
// Get company info by kvk number
$data = $ovio->get('35012085');
 
// Search by postal code
$data = $ovio->search(['filter' => ['postcode' => '3083cz'], 'order' => 'desc']);
 
// Simple search by postal code
$data = $ovio->searchBy('postcode', '3083cz');
 
// Get suggestions for given search string
$data = $ovio->suggest('oudet', ['size' => 10, 'fields' => ['handelsnaam', 'straat', 'dossiernummer']])

Examples Rdw API

use Webeau\Ovio\Rdw;
 
// Initiation with API key from overheid.io
$ovio = new Rdw($api_key);
 
// Get car info by registration number
$data = $ovio->get('AB-12-CD');
 
// Search by type
$data = $ovio->search(['filter' => ['merk' => 'bmw'], 'order' => 'desc']);
 
// Simple search by type
$data = $ovio->searchBy('merk', 'bmw');

Example paging (all APIs)

$data = $ovio->search([
	'filter' => ['merk' => 'bmw'],
	'order' => 'desc',
	'page' => 1
]);
 
// After performing api call you can use
// $ovio->next();
// $ovio->prev();
// $ovio->first();
// $ovio->last();
// to fetch next page
 
$data = $ovio->next();

Repo by Webeau

Visit our website

License

The MIT License (MIT).

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 3
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-11-26