PHPackages                             goldbach-algorithms/aig - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. goldbach-algorithms/aig

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

goldbach-algorithms/aig
=======================

Address Info Getter - Pesquisas de informações de endereços

1.3(4y ago)059MITPHPPHP &gt;=5.3.0

Since Oct 25Pushed 4y agoCompare

[ Source](https://github.com/GoldbachAlgorithms/AIG)[ Packagist](https://packagist.org/packages/goldbach-algorithms/aig)[ RSS](/packages/goldbach-algorithms-aig/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (8)Dependencies (4)Versions (9)Used By (0)

AIG - Address Info Getter
=========================

[](#aig---address-info-getter)

[![](https://camo.githubusercontent.com/bdad2a98e507fc39c91184af0b47d10395612d98fc654223eb92774d4b614cfc/68747470733a2f2f62616467656e2e6e65742f62616467652f506f776572656425323062792f476f6c64626163682f726564)](https://github.com/Goldbach07/)[![](https://camo.githubusercontent.com/d4cbd22fffe5150374e5f87f85a36b5501f2097218a4dfb0417529656aefef20/68747470733a2f2f62616467656e2e6e65742f62616467652f446576656c6f706564253230666f722f53796d666f6e792f626c61636b)](https://symfony.com/)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

Goldbach Algorithms Address Info Getter (fondly nicknamed AIG) is a PHP library developed for Symfony to collect address information.

Installation
------------

[](#installation)

Use the composer to install:

```
composer require goldbach-algorithms/aig
```

Usage
-----

[](#usage)

Create an AIG instance and look for the address indicating or not the source of access.

```
# Add use AIG
use GoldbachAlgorithms\AIG\AIG;

# create a new AIG
$aig = new AIG();

# get address by CEP
$aig->getAddressByCep('89566410');

# get address by cep using a specific source
$aig->getAddressByCep('89304258', AIG::SOURCE_CORREIOS);
$aig->getAddressByCep('89304258', AIG::SOURCE_VIACEP);
```

Return
------

[](#return)

Look at an example of a JSON return displaying the source of the information.

```
{
  "zipCode": "89304258",
  "street": "Rua Pioneiro Arlindo Goldbach",
  "complement": "",
  "neighborhood": "Vila Nova",
  "city": "Mafra",
  "state": "SC",
  "source": "Correios"
}
```

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

Copyright © 2021 [Goldbach Algorithms](https://github.com/GoldbachAlgorithms/AIG/blob/main/LICENSE)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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.

###  Release Activity

Cadence

Every ~1 days

Total

8

Last Release

1702d ago

### Community

Maintainers

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

---

Top Contributors

[![Goldbach07](https://avatars.githubusercontent.com/u/13986904?v=4)](https://github.com/Goldbach07 "Goldbach07 (15 commits)")

---

Tags

addresscepphpsymfony

### Embed Badge

![Health badge](/badges/goldbach-algorithms-aig/health.svg)

```
[![Health](https://phpackages.com/badges/goldbach-algorithms-aig/health.svg)](https://phpackages.com/packages/goldbach-algorithms-aig)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k40](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[oat-sa/tao-core

TAO core extension

66143.7k120](/packages/oat-sa-tao-core)

PHPackages © 2026

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