How can I make a blog of access to the pages of a website of a user in laravel?

0

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?

    
asked by lucho 21.07.2017 в 06:39
source

1 answer

-1

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();
    
answered by 21.07.2017 в 12:02