laravel get ip and user agent code example
Example: get user ip laravel
To get current user ip in php, laravel
\Request::ip();
or
$request->ip();
To get current user ip in php, laravel
\Request::ip();
or
$request->ip();