kind-work/login-notify
kind-work/login-notify is a Laravel package that sends notifications when users log in, helping you alert accounts to new sign-ins and suspicious activity. It provides simple integration with Laravel's login events and customizable notification channels.
vendor:publish tag). The config controls the cookie name/lifetime, the location resolver, and the new Cookie Monster cleanup.app/Http/Kernel.php or on a route group). This is what remembers location in a cookie and triggers cookie maintenance.// app/Console/Kernel.php
$schedule->command('cookie-monster:clean')->daily();
If the package prunes automatically, keep the schedule as a belt-and-braces option for low-traffic apps where middleware may not run often.null location:
$location = Location::current(); // consult README for exact facade/helper name
$currency = $location?->currency ?? config('app.default_currency');
withoutMiddleware for tests that don’t care about location. Add a test that simulates “location not found” to lock in the v1.1.0 behaviour. Assert that cookies are set/cleared as expected.null. Treat null as a first-class state and always provide a config fallback. Don’t assume the bug fix means a location will always be available.secure, httponly, and same_site settings, especially if you serve the app over both HTTP and HTTPS in local development.php artisan route:list to confirm the middleware is attached where you expect. Clear cookies between test runs to avoid stale location data.How can I help you explore Laravel packages today?