SecurityBundle
Symfony bundle that integrates the Security component into the Symfony framework, for user authentication and authorization.
symfony.com/packages/security-bundlerepositorydocs
SecurityBundle is the Symfony bundle that connects the Security component to the framework. It comes with authenticators for form login, JSON login, HTTP basic, login links, X.509 client certificates and remote users, plus custom authenticators, and the docs cover access tokens through OpenID Connect, OAuth 2.0 token introspection and CAS 2.0. Firewalls and access control rules in the security configuration govern requests.
Users are loaded by a user provider: a Doctrine entity, an LDAP server, a memory configuration or a chain of these. The bundle also provides password hashing, and the docs cover CSRF protection and Remember Me.
Worth knowing
For social login through providers such as Google, Facebook or Twitter, the docs point to a community bundle and an OAuth client package.
Identity
Rendering and deploy
- Install with
- composer2
Releases
Adoption
Sources
- 2026-11-16: name, links
symfony.com/doc/current/security.html - 2026-11-16: links, Categories, Built on, Runtime, Install with
symfony.com/packages/security-bundle - 2026-11-16: links, Written in, License model, GitHub stars
api.github.com/repos/symfony/security-bundle - 2026-11-16: Maintainer
github.com/symfony/security-bundle/blob/v8.1.11/LICENSE - 2026-11-16: First release
repo.packagist.org/p2/symfony/security-bundle.json - 2026-11-16: Minimum runtime, License
github.com/symfony/security-bundle/blob/v8.1.11/composer.json - 2026-11-16: Current major version, Last release
api.github.com/repos/symfony/security-bundle/releases/tags/v8.1.11 - 2026-11-16: Contributors
api.github.com/repos/symfony/security-bundle/contributors?per_page=1 - 2026-11-16: Packagist downloads, Packagist downloads a month
packagist.org/packages/symfony/security-bundle.json - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/packagist.org/packages/symfony%2Fsecurity-bundle