I have updated the composer and run the php artisan publish commands as per their advice in this link
https://github.com/stevebauman/location
This is the program i run
Getting a user location (automatic IP detection):
$location = Location::get(); Getting a user location with a specific IP:
Location::get('192.168.1.1');