# Peru Consultas
[![Github Actions](https://github.com/giansalex/peru-consult/workflows/CI/badge.svg)](https://github.com/giansalex/peru-consult/actions)
[![codecov](https://codecov.io/gh/giansalex/peru-consult/branch/master/graph/badge.svg)](https://codecov.io/gh/giansalex/peru-consult)
[![Maintainability](https://api.codeclimate.com/v1/badges/c307caea39f1101cbc5d/maintainability)](https://codeclimate.com/github/giansalex/peru-consult/maintainability)
[![Project Stats](https://www.openhub.net/p/peru-consult/widgets/project_thin_badge.gif)](https://www.openhub.net/p/peru-consult)
[![Packagist](https://img.shields.io/packagist/v/giansalex/peru-consult.svg?style=flat-square)](https://packagist.org/packages/giansalex/peru-consult)  
Consultas gratuita de DNI y RUC sin uso de captcha, ni OCR.

[![Quality gate](https://sonarcloud.io/api/project_badges/quality_gate?project=giansalex_peru-consult)](https://sonarcloud.io/dashboard?id=giansalex_peru-consult) 

> :memo: No se asegura una completa disponibilidad del servicio, ya que son fuentes externas, si necesita una mayor estabilidad puede utilizar [quertium](https://quertium.com/?utm_source=github&utm_campaign=peru-consult).

## Install
Usando composer desde [packagist.org](https://packagist.org/packages/giansalex/peru-consult)
```bash
composer require giansalex/peru-consult
```
[Documentación](https://giansalex.github.io/peru-consult/)

### Requerimientos
- PHP 7.1 o superior.

### Servicios Disponibles
- Consulta de DNI
- Consulta de RUC
- Validez de Usuario SOL (extras)

### API :cloud:
Visitar [peru-consult-api](https://github.com/giansalex/peru-consult-api).  

API -> RUC - DNI
https://github.com/giansalex/peru-consult

Donde lo encontre:
https://www.infotutoriales.info/2019/08/consultar-el-ruc-desde-sunat-sin.html