<?php
/**
 * Script to clear rate limiter cache
 * Run this on production server: php clear_rate_limit.php
 */

require __DIR__.'/vendor/autoload.php';

$app = require_once __DIR__.'/bootstrap/app.php';
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
$kernel->bootstrap();

// Clear all cache
Illuminate\Support\Facades\Cache::flush();

echo "Rate limiter cache cleared successfully!\n";
echo "All cache has been cleared.\n";

