get local and public ip in laravel code example Example: laravel get client public ip $_SERVER['REMOTE_ADDR']