We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to add expiration date for banned IPs?
last
8.1
10
Linux
No response
The text was updated successfully, but these errors were encountered:
It is possible to set an expiration date if the banned IP is associated with a model. Is that what you're looking for?
$model->ban([ 'ip' => "8.8.8.8", 'expired_at' => now()->addDays(7), ]);
Otherwise, indeed, on the IP class, it's not possible to define an expiration date. It's a good idea for a future version.
Sorry, something went wrong.
Yes, for a future version, it would be cool. Thanks.
Done in v2.1.0
No branches or pull requests
What happened?
Is it possible to add expiration date for banned IPs?
How to reproduce the bug
Is it possible to add expiration date for banned IPs?
Package Version
last
PHP Version
8.1
Laravel Version
10
Which operating systems does with happen with?
Linux
Notes
No response
The text was updated successfully, but these errors were encountered: