selkis/ven-id
Composer 安装命令:
composer require selkis/ven-id
包简介
Consultation of Venezuelan CI
README 文档
README
Consultation of Venezuelan CI
Installation
Require the selkis/ven-id package in your composer.json and update your dependencies.
$ composer require selkis/ven-id
Add the Providers to your config/app.php providers array:
Selkis\VenID\Providers\VenIdServicesProvider::class, Ixudra\Curl\CurlServiceProvider::class,
Add the Aliases to your config/app.php aliases array:
'Curl' => Ixudra\Curl\Facades\Curl::class, 'Seniat' => Selkis\VenID\Facades\SeniatFacades::class, 'CNE' => Selkis\VenID\Facades\CNEFacades::class,
Usage
To get information from the cne, you must invoke the CNE class to the getInfo method, sending the parameters "nationality" and "identification number".
public function index(){ return \CNE::getInfo('V','4824519'); };
To obtain information from the seniat, you must invoke the Seniat class to the method getInfo, sending you the parameter "rif"
public function index(){ return \Seniat::getInfo('V214714759'); };
License
Released under the MIT License, see LICENSE.
统计信息
- 总下载量: 74
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-01-08