Laravel Brazilian CEPs is a fantastic package to Search addresses quickly in Laravel. These are the minimum requirements to use this package.
The returned value will have the structure below, see CepEntity: LSNepomuceno\LaravelBrazilianCeps\Entities\CepEntity { city: string, cep: string, street: string, state: string, uf: string, neighborhood: string, number: string | int | null, complement: string | null, }
The package will default provide an API route for looking up addresses, as specified below.
The initial middleware of the route is "guest", if it is necessary to modify it, just adjust the configuration file: // config/brazilian-ceps.php ['guest']
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.