daavelar / laravel-geocode
There is no license information available for the latest version (1.0.1) of this package.
This is a Laravel package that provides functionalities for geocoding addresses using OpenCage API
1.0.1
2024-07-15 17:25 UTC
Requires
- illuminate/support: ^11.15
- opencage/geocode: ^3.3
README
Description
This is a Laravel wrapper for leveraging the functionalities of geocoding APIs. It simplifies the process of integrating geocoding services into your Laravel applications.
Features
- Easy integration with Laravel
- Supports multiple geocoding services
- Simplified API for geolocation tasks
Installation
Use composer to install this package:
composer require daavelar/laravel-geocode
Configuration
After the package has been installed, you will need to register it in the providers
array in your config/app.php
file.
'providers' => [ // Other service providers... Daavelar\LaravelGeocode\LaravelGeoCodeServiceProvider::class, ],
You should also publish the config file with the following artisan command:
php artisan vendor:publish --provider="Daavelar\LaravelGeocode\LaravelGeoCodeServiceProvider"
This command will publish a geocode.php
config file to your config
directory. If you open this file, you will see
all the available settings you can adjust for this package.