# symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

Repository: https://github.com/symfony/security-bundle
Canonical: https://ross.abutalabs.com/products/security-bundle
Homepage: https://symfony.com/security
Language: PHP
License: MIT
License Family: permissive
Topics: php, symfony, component, symfony-component
Last push: 2026-08-20T07:08:43+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 95, longevity 100
- inputs: {"age_days": 5426, "days_push": 13, "days_rel": 35, "gap_med": 0, "n_releases_24m": 56}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2489, forks 27 (observed 2026-08-28T04:06:55.748149+00:00)

## What it is
SecurityBundle is the official Symfony bundle that integrates the Security component into the Symfony full-stack framework. It provides configuration and wiring for authentication, authorization, firewalls, voters, password hashing, and CSRF protection in Symfony applications.

## Use cases
- add authentication to a symfony app
- configure login firewalls and user providers
- implement role-based authorization with voters
- hash and verify user passwords securely
- protect routes with access control rules
- enable csrf protection on forms
- integrate ldap authentication in symfony

## When to choose
- you are building a Symfony application and need authentication or authorization
- you want the officially supported, framework-integrated security layer
- you need firewall, voter, and password-hashing configuration via Symfony config

## When to avoid
- you are not using the Symfony framework (use symfony/security-core directly)
- you need a standalone auth service outside a Symfony app
- you use another framework like Laravel or a micro-framework

## Facets
- artifact type: plugin
- maturity: stable
- function: auth, authorization, security, middleware
- domain: web-development, backend, security
- platform: php, self-hosted
- tags: symfony, symfony-bundle, authentication, firewalls, voters, csrf, password-hashing, php, web-server

## Member repositories
- symfony/security-bundle (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:55.748149+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:27:50.739312+00:00, confidence not recorded.
  - readme: https://github.com/symfony/security-bundle (fetched 2026-08-28T04:06:55.748149+00:00, sha 57c942dee263)
  - homepage: https://symfony.com/security (fetched 2026-08-29T10:09:42.997558+00:00, sha f22b288f811f)
  - site_page: https://symfony.com/doc (fetched 2026-08-29T10:09:43.007172+00:00, sha 44889134f4fb)
  - site_page: https://symfony.com/releases (fetched 2026-08-29T10:09:43.009151+00:00, sha 2fd410222cfe)
  - site_page: https://symfony.com/blog/category/releases (fetched 2026-08-29T10:09:43.010919+00:00, sha b626b5bb1423)
- Data as of 2026-08-30T08:39:29.467469+00:00.
