mariankustusch/regon-api 问题修复 & 功能扩展

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

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

mariankustusch/regon-api

最新稳定版本:2.0.1

Composer 安装命令:

composer require mariankustusch/regon-api

包简介

GUS Regon API

README 文档

README

Latest Stable Version Latest Unstable Version Total Downloads Monthly Downloads License

REGON API - Polish companies database v2

Installation

Install the latest version with composer

composer require mariankustusch/regon-api

API uses BIR 1.1

Basic usage

Configuration

Available options:

Parameter name Description Is required
password Password to REGON api YES
wsdl path to WSDL NO
location path do SVC location NO
cacheDir path do cache directory NO (system dir cache)
cacheTtl cache ttl [sec] NO (60 sec)

Creating instance

$oConfig = new Mrcnpdlk\Api\Regon\Config([
    'password' => 'my_password',
]);

$oNativeApi = new \Mrcnpdlk\Api\Regon\NativeApi($oConfig);
$oApi = new \Mrcnpdlk\Api\Regon\Api($oConfig);

NativeApi

NativeApi class implements native GUS methods such like:

  • Zaloguj()
  • Wyloguj()
  • GetValue(ValueEnum $param)
  • DaneSzukajPodmioty( string $regon = null, string $nip = null, string $krs = null, array $tRegon = [], array $tNip = [], array $tKrs = [])
  • DanePobierzRaportZbiorczy(string $date, ReportCompactEnum $report)
  • DanePobierzPelnyRaport(string $regon, ReportFullEnum $report)

Api

Api class implements usable methods based on NativeApi class.

  • searchByNip()
  • searchByKrs()
  • searchByRegon()
  • getPKD()
  • getReport()

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-08-19