Looking to hire Laravel developers? Try LaraJobs

laravel-geocode maintained by backtheweb

Last update
2023/06/20 15:19 (dev-main)
Downloads
8

Comments
comments powered by Disqus

geo

Installation

Install the package via composer:

$ composer require backtheweb/laravel-geocode:dev-main

Publish the config file:

$ php artisan vendor:publish --provider="Backtheweb\\Geocode\\GeocodeServiceProvider" --tag="config"

To start developing, run composer install on the package

$ cd {{ path }}
$ composer install

Run tests

Before running the tests, add the following to phpunit.xml file:

<env name="GOOGLE_API_KEY" value="YOUR_API_KEY"/>

replace YOUR_API_KEY with your Google API key.

Then run the tests:

$ ./vendor/bin/phpunit