trienlace/parse-contribuyente

Herramienta para realizar parsing de los datos de un contribuyente a partir del HTML de respuesta de la página de búsqueda de contribuyentes en SENIAT

0.3 2021-09-09 14:53 UTC

This package is auto-updated.

Last update: 2024-11-09 21:37:37 UTC


README

A Parser for the SENIAT Contribuyente search page

Latest Version on Packagist Tests Total Downloads

Installation

You can install the package via composer:

composer require trienlace/parse-contribuyente

The package will automatically register itself.

ParseContribuyente

This validation rule will pass if the RIF value passed in the request is valid.

// in a Controller, Job or View

use Trienlace\ParseContribuyente\ParseContribuyente;

$body = '<HTML>...</HTML>'

$parser = new ParseContribuyente($body);

$contribuyente = $parser->toArray()

Testing

vendor/bin/pest

Changelog

Please see CHANGELOG for more information on what has changed recently.

Security

If you discover any security related issues, please email seguridad@trienlace.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.