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. [API Development](/categories/api)
4. /
5. pabloacastillo/ruc-paraguay

ActiveLibrary[API Development](/categories/api)

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[2 PRs](https://github.com/pabloacastillo/ruc-paraguay/pulls)MITPHPCI failing

Since Jan 21Pushed 3w 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 3w ago

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

41

—

FairBetter than 87% of packages

Maintenance63

Regular maintenance activity

Popularity19

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity57

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

2354d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/300021?v=4)[Pablo Castillo](/maintainers/pabloacastillo)[@pabloacastillo](https://github.com/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

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M971](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[moe-mizrak/laravel-openrouter

Laravel package for OpenRouter (A unified interface for LLMs)

154177.9k2](/packages/moe-mizrak-laravel-openrouter)[flat3/lodata

OData v4.01 Producer for Laravel

99351.7k](/packages/flat3-lodata)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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