How to get the server IP with Laravel
You can use request object:
request()->server('SERVER_ADDR');
Or you can use standard PHP way:
$_SERVER['SERVER_ADDR'];
Request::server('SERVER_ADDR')
:)
URL Reference: https://laravel.com/api/5.3/Illuminate/Http/Request.html