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)159MITPHPPHP &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 today

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 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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

1648d 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

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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