iox/locationist

get users locations

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/iox/locationist

v0.0.1 2022-12-05 12:52 UTC

This package is not auto-updated.

Last update: 2025-12-31 02:36:22 UTC


README

1.To install the package, run " composer require iox/locationist "

2.To get lattitude and logitude use "Location::get_latt_long()" in your controller;

3."get_latt_long()" method returns users lattitude and longitude.

4.to find users into map using those lattitude and longitude use "Location::get_location()".This method takes lattitude and longitude as parameter.And returns a url of google map with desired location.

5.type "use Iox\Locationist\Location" to import the class in your desire controller.

###additional ###

if laravel can't find the class then add "Iox\Locationist\LocationServiceProvider::class" into "provider" array in "config/app.php" directory .