saade/cep-php
PHP library for Brazilian CEP postal code lookups. Query a CEP and retrieve address details such as street, neighborhood, city, and state through a simple, lightweight API, making it easy to add postal code search to PHP applications.
saade/cep-php rather than building and maintaining multi-provider Brazilian CEP lookup in-house. v2.0.0 reduces dependency surface by removing Saloon and standardizing on Guzzle.Cep::get(), Cep::race(), and provider-level get(), so existing product flows depending on CEP lookup do not need functional redesign.MockClient no longer intercepts requests; teams should move to Provider::useClient() with Guzzle test clients. This affects test infrastructure, not end-user behavior.Provider::useClient() enables proxies, retries, and custom Guzzle configuration, which can support corporate network requirements or regional routing.Cep::get(), Cep::race(), or standard provider get() calls and can update Guzzle to ^7.15.2|^8.0.1.Saade\Cep\Requests\* or RaceConnector, has custom providers built on Saloon request classes, or cannot upgrade Guzzle due to platform constraints.^7.15.2|^8.0.1, migrate custom providers to request(), handleErrors(), and toDTO(), replace Saloon MockClient fakes with Provider::useClient(), and note that async methods no longer accept a connector. Use Provider::useClient() for proxies, retries, or test fakes.How can I help you explore Laravel packages today?