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
Installs: 22
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 0
Language:HTML
Requires
- php: ^7.3|^8.0
- paquettg/php-html-parser: ^3.1
- phpstan/phpstan: ^0.12.93
Requires (Dev)
- pestphp/pest: ^1.11
This package is auto-updated.
Last update: 2024-11-09 21:37:37 UTC
README
A Parser for the SENIAT Contribuyente search page
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.