PHPackages                             unforgivencl/larachileancongress - 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. unforgivencl/larachileancongress

ActiveLaravel-package

unforgivencl/larachileancongress
================================

Provides an wrapper to opendata.congreso.cl with Laravel 5.3.

19PHP

Since Nov 1Pushed 9y ago1 watchersCompare

[ Source](https://github.com/UnforgivenCL/LaraChileanCongress)[ Packagist](https://packagist.org/packages/unforgivencl/larachileancongress)[ RSS](/packages/unforgivencl-larachileancongress/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

LaraChileanCongress - Wrapper for opendata.congreso.cl web service
==================================================================

[](#larachileancongress---wrapper-for-opendatacongresocl-web-service)

Package to facilitate the use of opendata.congreso.cl web service using Laravel

Installation
============

[](#installation)

To add this package on your Laravel project add this on your `composer.json file

```
"unforgivencl/larachileancongress": "dev-master"

```

To install and configure add the service provider to your `config/app.php`

```
Unforgivencl\LaraChileanCongress\LaraChileanCongressServiceProvider::class,

```

If you want to use the Facade add this to your facade section on `config/app.php`

```
'ChileanCongress' => Unforgivencl\LaraChileanCongress\Facades\LaraChileanCongress::class,

```

Usage
=====

[](#usage)

For example if you want to get all delegates you can use

In some endpoints the web service changes url (delegates), to use that WS you need to change with `setDelegates()` method, if you use the senators endpoint use `setSenators()` , by default it's set to Senators

```
$delegates = ChileanCongress::delegate()->setDelegates()->getDelegates()->fetch();

```

If you want to get information of a votation of senators you can use

```
$votation = ChileanCongress::votation()->number('8575')->getSenatorsVotation()->fetch();

```

If you want to get a specific law project you can use

```
$lawProject = ChileanCongress::lawproject()->number('1')->getLawProject()->fetch();

```

Response
========

[](#response)

All responses are converted to JSON from an XML Response, if you see any weird index or order, i'm sorry but the web service are very incosistent

Development
===========

[](#development)

This package are under development so if you find any bug feel free to send PR or send an issue.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a74f29dfd45505b5f3c715a15f29d2e07f224f1dc918a6ba2f62c82974feae82?d=identicon)[Unforgivencl](/maintainers/Unforgivencl)

---

Top Contributors

[![lobosg](https://avatars.githubusercontent.com/u/8648999?v=4)](https://github.com/lobosg "lobosg (6 commits)")

### Embed Badge

![Health badge](/badges/unforgivencl-larachileancongress/health.svg)

```
[![Health](https://phpackages.com/badges/unforgivencl-larachileancongress/health.svg)](https://phpackages.com/packages/unforgivencl-larachileancongress)
```

PHPackages © 2026

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