nanoarmando / cnecheck
A CNE check library
1.0.2
2015-12-29 19:15 UTC
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2025-04-19 00:59:54 UTC
README
A library that allows you to check CNE website and get the information in JSON format.
Installation##
composer require nanoarmando/cnecheck
Use
require "vendor/autoload.php"; use CNE\Cne; $search = new Cne('V','xxxxxxxx'); echo $search->search();
Additional Settings
//Another way to initialize $search = new Cne(); $search->setData('V','xxxxxxxx'); //Using the CURL method //See 'allow_url_fopen' echo $search->search(CURL_METHOD);
License
MIT License