https://github.com/jmrashed/geolocation
The geolocation package will provide user location
https://github.com/jmrashed/geolocation
Last synced: 10 months ago
JSON representation
The geolocation package will provide user location
- Host: GitHub
- URL: https://github.com/jmrashed/geolocation
- Owner: jmrashed
- Created: 2022-04-06T16:22:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-06T18:57:20.000Z (over 3 years ago)
- Last Synced: 2025-01-07T20:14:39.804Z (11 months ago)
- Language: PHP
- Size: 192 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Geolocation From Package
[](https://github.com)
[](https://github.com)
[](https://github.com)
[](https://github.com)
Laravel package to get the details about Region, City and Country for a given IP Address. It also provides the details about the location of the user.
## Introduction
- geolocation package will provide user location information.
- It will provide user location information.
## Installation
```bash
composer require jmrashed/geolocation
```
## Published package
```bash
php artisan vendor:publish --provider="Jmrashed\Geolocation\GeolocationServiceProvider" --tag='geolocation'
```
## Usage
```bash
$geolocation->getLocation($latitude, $longitude);
$geolocation->getLocationByIp($ip);
```
## Example
```bash
$geolocation = new GeolocationController();
$geolocation->getLocation($latitude, $longitude);
```
## License
MIT
## Author
Rashed Zaman
## Repository
https://github.com/jmrashed/geolocation
## Contributors
Rashed Zaman
## Changelog
```bash
v1.0.0
- Initial release.
```