holacliente / laravel-ubigeo
Installs: 77
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/holacliente/laravel-ubigeo
Requires
- php: ^7.0
- laravel/framework: ^8.75
This package is auto-updated.
Last update: 2025-11-16 20:19:24 UTC
README
Laravel Ubigeo is a package that provides a simple way to manage and use Peruvian ubigeo codes in your Laravel application.
Installation
Install the package via Composer:
composer require holacliente/laravel-ubigeo
Usage
Retrieve Ubigeo Information
You can use the provided models or helper functions to retrieve ubigeo data:
use Holacliente\LaravelUbigeo\Ubigeo; // Get all departments $departments = Ubigeo::departamentos(); // Get provinces by department $provinces = Ubigeo::provincias(); // Get districts by province $districts = Ubigeo::distritos();
Testing
Run the tests with:
php artisan test
Contributing
Contributions are welcome! Please submit a pull request or open an issue to discuss your ideas.
License
This package is open-sourced software licensed under the MIT license.