ipregistry / laravel
IP Geolocation and Threat Intelligence
dev-main
2023-01-13 09:31 UTC
Requires
- php: >=5.8
- illuminate/support: >=5.4
This package is auto-updated.
Last update: 2025-02-08 14:30:53 UTC
README
Step:1 -- Add following class to providers Ipregistry\Laravel\IpRegistryProvider::class
Step:2 -- Add alias in aliases section "Ipregistry" => Ipregistry\Laravel\GetCurrentLocation::class
Step:3 -- In Controller File
use Ipregistry;
Ipregistry::getcurrentlocation('Your ipregistry key here',["ip address"]);