stev/lista-firme-bundle 问题修复 & 功能扩展

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

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

stev/lista-firme-bundle

最新稳定版本:v4.1

Composer 安装命令:

composer require stev/lista-firme-bundle

包简介

Symfony 2 Bundle for Lista Firme Romanian API

README 文档

README

Symfony 2 Bundle for Lista Firme API, Ministerul de Finante, si openAPI.ro

!!! Din 15.09.2016 este necesar sa aveti un apiKey pentru openAPI. Pentru detalii inregistrati-va pe openapi.ro

Daca folositi OpenAPI si cumva se depaseste limita de interogari se va folosi automat varianta legacy!

1. Installation:

Add this to composer.json


"stev/lista-firme-bundle": "2.0"

Add this in app/AppKernel.php


new Stev\ListaFirmeBundle\StevListaFirmeBundle()

Add this in app/config.yml


stev_lista_firme:
    cifChecker: mFin/anaf/openApi/listaFirme
    username: demo
    password: demo
    offline: false
    enabled: yes
    #pathToPhantom is needed if you choose mFin as cifChecker
    pathToPhantom: path/to/bin/phantomjs'
    #apiKey is needed only if you work with open starting from 15.09.2016
    apiKey: your-api-key

Possible options for cifChecker are listaFirme, mFin, openApi and anaf.

If you want to use Finance Ministry API you must add this to your composer.json


"post-install-cmd": [
    "PhantomInstaller\\Installer::installPhantomJS"
],
"post-update-cmd": [
    "PhantomInstaller\\Installer::installPhantomJS"
],

2. Usage


/* @var $listaFirme \Stev\ListaFirmeBundle\Lib\ListaFirme */
    $listaFirme = $this->get('stev.lista_firme');
    $response = $listaFirme->checkCompanyByCUI($cui);

Lista Firme API documentation can be found at http://www.verificaretva.ro/serviciul_tva_api_web_service.htm

Finance Ministry API can be found http://www.mfinante.ro/agenticod.html

OpenAPI documentation can be found at http://openapi.ro/#company

ANAF API docs https://webservicesp.anaf.ro/PlatitorTvaRest/api/v3/

统计信息

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

GitHub 信息

  • Stars: 7
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-19