kookas/security-checker

Check whether the user can access a route based on its @Security annotation.

Maintainers

Package info

github.com/audoh/security-checker

Issues

pkg:composer/kookas/security-checker

Statistics

Installs: 24

Dependents: 0

Suggesters: 0

Stars: 0

v0.9 2017-04-28 15:02 UTC

This package is not auto-updated.

Last update: 2026-02-23 12:46:11 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.