PHPackages                             pabloacastillo/ruc-paraguay - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. pabloacastillo/ruc-paraguay

ActiveLibrary

pabloacastillo/ruc-paraguay
===========================

This laravel package fetch, search and retrieve RUC codes from the official taxes database from SET. Este es un paquete de laravel para descargar, buscar y brindar información sobre los numeros de RUC desde la fuente oficial del SET en Paraguay.

v1.0(6y ago)13748[1 PRs](https://github.com/pabloacastillo/ruc-paraguay/pulls)MITPHP

Since Jan 21Pushed 1y ago7 watchersCompare

[ Source](https://github.com/pabloacastillo/ruc-paraguay)[ Packagist](https://packagist.org/packages/pabloacastillo/ruc-paraguay)[ RSS](/packages/pabloacastillo-ruc-paraguay/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

ruc-paraguay
============

[](#ruc-paraguay)

Fetch, search and retrieve RUC codes from the official taxes database from SET.

Descargar, buscar y brindar información sobre los numeros de RUC desde la fuente oficial del SET en Paraguay.

Install
-------

[](#install)

Use composer to install the package, just run this comamnd to add it to the composer.json

`composer require pabloacastillo/ruc-paraguay`

The autodiscovery option should take care of things, but if that doesnt work follow the next steps.

Add the package to config/app.php to the providers list:

`pabloacastillo\RUCParaguay\RUCParaguayServiceProvider::class`

Add the package to config/app.php to the aliases list:

`'RUCParaguay' => pabloacastillo\RUCParaguay\Facades\RUCParaguayFacade::class`

Artisan Commands
----------------

[](#artisan-commands)

This are the artisan commands avaible, you should hook update the data at least once a month.

`php artisan ruc:update`

Fetchs and updates all the local data from the source. Will download several zip files, decompress to text files and load them into the database.

`php artisan ruc:search Castillo Pablo`

Performs a searchs inside the database with the provided information. Will return results and some debug info.

HOW TO USE
----------

[](#how-to-use)

To search for information inside the database you can especify the fields you are looking for like this:

```
$toSearch=array(
	'nro_ruc' 	=>'4600',
	'denominacion' 	=>'alejandro',
	'ruc_anterior' 	=>'ca',
);
RUCParaguay::search($toSearch);

```

You can also search with only one field:

```
$toSearch=array(
	'nro_ruc' =>'460018',
);
RUCParaguay::search($toSearch);

```

Or you can search the whole thing like this:

```
RUCParaguay::search('46001');

```

To update the database periodically run the artisan command, it should be hooked to a cron command to run every couple of days. The update is hardset inside the code to be able to be executed a maximun of once every 48 hours.

`php artisan ruc:update`

### TODO

[](#todo)

- Add code examples.
- Find a way to make it faster without dumping direct-to-database.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2303d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/60eecc008a92a04027d1d42218fb80a88e21f81d0d4eefe37688c2280bd894d2?d=identicon)[pabloacastillo](/maintainers/pabloacastillo)

---

Top Contributors

[![pabloacastillo](https://avatars.githubusercontent.com/u/300021?v=4)](https://github.com/pabloacastillo "pabloacastillo (14 commits)")[![EmilioBravo](https://avatars.githubusercontent.com/u/544288?v=4)](https://github.com/EmilioBravo "EmilioBravo (1 commits)")

---

Tags

artisan-commandshaciendalaravelofficial-taxes-databaseparaguayphpruc-paraguaylaraveltaxesrucParaguay

### Embed Badge

![Health badge](/badges/pabloacastillo-ruc-paraguay/health.svg)

```
[![Health](https://phpackages.com/badges/pabloacastillo-ruc-paraguay/health.svg)](https://phpackages.com/packages/pabloacastillo-ruc-paraguay)
```

###  Alternatives

[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)[tpetry/laravel-mysql-explain

Get Visual MySQL EXPLAIN for Laravel.

264154.2k](/packages/tpetry-laravel-mysql-explain)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[wetcat/fortie

Enable simple Fortnox integration

2042.0k](/packages/wetcat-fortie)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
