PHPackages                             mero/correios-bundle - 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. mero/correios-bundle

AbandonedArchivedSymfony-bundle[API Development](/categories/api)

mero/correios-bundle
====================

Symfony Bundle with Correios integration

040PHP

Since Jun 3Pushed 8y ago1 watchersCompare

[ Source](https://github.com/merorafael/MeroCorreiosBundle)[ Packagist](https://packagist.org/packages/mero/correios-bundle)[ RSS](/packages/mero-correios-bundle/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

MeroCorreiosBundle
==================

[](#merocorreiosbundle)

[![SensioLabsInsight](https://camo.githubusercontent.com/07a6347f18d08849e6569c8d0c04ff05213abc935d6210c0ae805bb89d995917/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f36376331653430382d336432662d343334642d383763392d6634623265366233333364642f6d696e692e706e67)](https://insight.sensiolabs.com/projects/67c1e408-3d2f-434d-87c9-f4b2e6b333dd)[![Latest Stable Version](https://camo.githubusercontent.com/18e43092c402f6ed4e57684d3d0ca574cc2e63eae9a32d7a837d86efa1a983a7/68747470733a2f2f706f7365722e707567782e6f72672f6d65726f2f636f727265696f732d62756e646c652f762f737461626c652e737667)](https://packagist.org/packages/mero/correios-bundle)[![Total Downloads](https://camo.githubusercontent.com/dd31b2c2f70fdc620a39ee565e2ef15ce0947507a7ec59157d54d4e0f4c05632/68747470733a2f2f706f7365722e707567782e6f72672f6d65726f2f636f727265696f732d62756e646c652f646f776e6c6f6164732e737667)](https://packagist.org/packages/mero/correios-bundle)[![License](https://camo.githubusercontent.com/f9c1bd06c725b19e037cb0914b21fc46cd1cf115f78871aea057a431aa400c1e/68747470733a2f2f706f7365722e707567782e6f72672f6d65726f2f636f727265696f732d62756e646c652f6c6963656e73652e737667)](https://packagist.org/packages/mero/correios-bundle)

Symfony Bundle with Correios integration

Requirements
------------

[](#requirements)

- PHP 5.4.9 or above
- SOAP extension
- Symfony 2.8 or above

Instalation with composer
-------------------------

[](#instalation-with-composer)

1. Open your project directory;
2. Run `composer require mero/correios-bundle` to add MeroCorreiosBundle in your project vendor;
3. Open **my/project/dir/app/AppKernel.php**;
4. Add `Mero\Bundle\CorreiosBundle\MeroCorreiosBundle()`.

Correios Client
---------------

[](#correios-client)

This bundle is only alias to use [MeroCorreios](https://github.com/merorafael/php-correios).

ServiceMeroCorreios Classmero\_correios.client[Client](https://github.com/merorafael/php-correios/blob/master/src/Mero/Correios/Client.php)#### Usage example

[](#usage-example)

```
namespace Acme\Bundle\ApiBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;

/**
 * @Route("/correios")
 */
class CorreiosController extends Controller
{
    /**
     * @Route("/{zipCode}/address", name="search_zipcode")
     */
    public function searchAction(string $zipCode)
    {
        $client = $this->get('mero_correios.client'); // Return the Mero\Correios\Client
        try {
            $address = $client->findAddressByZipCode($zipCode);

            return new JsonResponse([
                'zip_code' => $zipCode,
                'address' => $address->getAddress(),
                'neighborhood' => $address->getNeighborhood(),
                'city' => $address->getCity(),
                'state' => $address->getState(),
            ]);
        } catch (AddressNotFoundException $e) {
            return new JsonResponse([
                'message' => $e->getMessage(),
            ], 404);
        } catch (InvalidZipCodeException $e) {
            return new JsonResponse([
                'message' => $e->getMessage(),
            ], 404);
        }
    }

}
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

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/7b6eb4a6794d1954839e6d66869175d8c6419d95f93c98827f27d07c8aaa19e4?d=identicon)[merorafael](/maintainers/merorafael)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mero-correios-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/mero-correios-bundle/health.svg)](https://phpackages.com/packages/mero-correios-bundle)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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