kookas / security-checker
Check whether the user can access a route based on its @Security annotation.
Installs: 24
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/kookas/security-checker
This package is not auto-updated.
Last update: 2025-11-03 11:22:45 UTC
README
SecurityCheckerBundle for Symfony and Twig lets you check whether the current user could access a given route based on that route's @Security annotation (it does not work for any other methods).
You could use this to, for example, only show a page link to a user who can actually access that page, without repeating your security definitions in the Twig template.