How to get IP address in laravel

There are lots of method avaiable in laravel to get IP address. You can use ip() method on request() to get the IP address.

Answers 1