I\'m working on a website, and one of the things I would like to do is display MY IP address to users. The website is made with CodeIgniter, so I was looking to find my server
If your laravel application is running on an internal server, you can use the following to get the external address of the server:
$external_ip = exec('curl http://ipecho.net/plain; echo');