laravel-road/ibge-locations

Laravel client to consume IBGE Locations api

v0.2.1 2021-01-11 21:13 UTC

This package is auto-updated.

Last update: 2024-11-12 08:55:34 UTC


README

Install

composer require laravel-road/ibge-locations

php artisan ibge-locations:install // optional, but necessary to use the db driver

How to use

$states = Locations::getStates();

$cities = Locations::getStates($states->first()->initials);

Supported Drivers

  • api (default)
  • db

Env