realtydev/laravel-placekey

A Laravel package for seamless integration with the Placekey API.

1.0.1 2023-11-14 02:19 UTC

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Installation

You can install the package via composer:

composer require realtydev/laravel-placekey

You can run the install command with:

php artisan placekey:install"

You can publish the config file with:

php artisan vendor:publish --tag="placekey-config"

Usage

use LaravelPlacekey;

LaravelPlacekey::getPlacekeyForAddress(
  "1543 Mission Street, Floor 3",
  "San Francisco",
  "CA",
  "94105", 
  "US"
);
{
  "query_id": "0",
  "placekey": "22k@5vg-7gq-5mk"
}

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.