https://dev.to/trungpv1601 #brainstorm Brainstorm The plan is create a new column in the user table to store the user country code as the source country that user sign up from and the table to store the history of the user ip address for every day or every time user they login into the system.

After user login and when user visit the backend for the normal user (Caching to too many action when they access the page) #research Research

Create country_code column to the users table php artisan make:migration add_country_code_column_to_users_table string('country_code')->nullable()->index(); }); }

So now, I will create 2 listeners to listen those event to trigger my code and store information.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners