Previously used for this purpose parsing. I sent IP and received such information as country, region / stat, city, city code, time zone, etc. But parsing is periodically blocked. I want to replace it with some kind of library that would give maximum information on IP. Advise something. The more information on IP, the better.
- onehere's a good api: geoplugin.net/json.gp Infa about them here: geoplugin.com - Ilya Zelenko
|
1 answer
public function authenticated(Request $request){ Log::info('Пользователь прошел авторизацию '.Carbon::now()->toDateString().' с ip адреса: '.$request->getClientIp()); } and do not forget to register:
use Illuminate\Support\Facades\Log; use Carbon\Carbon; use Illuminate\Http\Request; look logs:
лог, находится в storage\logs - @Jurchello if the question solved your problem accept it by clicking on the check mark with the left of the question. - user-name
|