-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[RateLimiter] controller attribute #52518
New issue
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
Comments
Thank you for this issue. |
Hello is this topic still available to work on? |
@RazielRodrigues, yep, I haven't had time so if you'd like to give it a shot, go ahead! |
Oh, thanks, I will start soon as possible |
Cool! Ping me if you need help or a PR review! |
Hi I have started the development yesterday, I am trying to figure out how I can add this attribute and which should be the workflow, I have knowledge of attributes in raw PHP, is it the same in Symfony? Ah! I have joined the slack community maybe we can talk there if necessary, thank you so much |
Cool! Continuing discussion there. |
Description
Using a controller attribute to configure a rate limit would be useful. By default, the key
$request->getClientIp()
but perhaps we could use the expression language for more advanced use-cases. Would require #52516.This issue is a todo for myself to work on for 7.1.
Example
The text was updated successfully, but these errors were encountered: