You can use request()->ip();

You can also use : Request::ip() but in this case, we have to call namespace like this: Use Illuminate\Http\Request;

Suggest An Answer

No suggestions avaliable!