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

This package is auto-updated.

Last update: 2024-11-15 19:02:02 UTC


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.