neelkanthk/laravel-surveillance-ui
neelkanthk/laravel-surveillance).surveillance_logs) must exist.SurveillanceMiddleware must be registered in app/Http/Kernel.php to log suspicious activity./surveillance (configurable), which should be protected (e.g., via auth middleware or role-based access).SurveillanceDetected) that can be extended for custom notifications (e.g., Slack, email).Route::bind(), helper functions).Blocklist manually or via API.softDeletes or external storage).surveillance_logs with millions of entries).composer require neelkanthk/laravel-surveillance
config/surveillance.php (e.g., define rules for IP blocking).php artisan surveillance:install
composer require neelkanthk/laravel-surveillance-ui
php artisan vendor:publish --provider="Neelkanth\SurveillanceUI\SurveillanceUIServiceProvider"
app/Http/Kernel.php:
'web' => [
\Neelkanth\Surveillance\Middleware\Surveillance::class,
// ...
],
routes/web.php):
Route::middleware(['auth'])->group(function () {
Route::get('/surveillance', [SurveillanceController::class, 'index']);
});
resources/views/vendor/surveillance-ui/.How can I help you explore Laravel packages today?