Hello I request your support in order to implement security to a website in laravel, to make a log of all the accesses of a user, but I do not know how to capture the url to which a user accessed or the action he has executed. What do you recommend?
Hello I request your support in order to implement security to a website in laravel, to make a log of all the accesses of a user, but I do not know how to capture the url to which a user accessed or the action he has executed. What do you recommend?
To do it automatically look at yourself, link but if you still insist on getting it out by hand it's easy,
Request::getClientIp();
Route::currentRouteName();