awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
symfony avatar

symfony/securityArchived

0
View on GitHub↗
1,199 stars·55 forks·PHP·MIT·7 viewssymfony.com/security↗

Security

This project is a comprehensive security framework for PHP applications, providing a modular system for verifying user identities and enforcing access control policies. It functions as a security middleware that decouples authentication and authorization logic from core application code, allowing for centralized management of user sessions, credentials, and resource access.

The framework distinguishes itself through a highly decoupled architecture that separates identity verification from storage mechanisms. It utilizes a strategy-based approach to authentication, enabling developers to implement custom login workflows, integrate with external enterprise directory services, and manage complex, hierarchical role structures. The system also employs an event-driven lifecycle, which dispatches signals during authentication transitions to facilitate custom logging and session management.

Beyond core identity management, the toolkit provides a suite of protective measures against common web vulnerabilities. It includes built-in support for secure password hashing, request forgery protection through cryptographic token validation, and brute-force attack prevention via configurable rate-limiting policies. The component also offers utilities for auditing project dependencies to identify potential security flaws.

Features

  • PHP Security Frameworks - Provides a comprehensive security framework for PHP applications, handling authentication, authorization, and session management.
  • User Authentication Systems - Authenticates system users through various methods including form login, basic headers, or certificate-based access.
  • Authentication and Authorization - Offers a comprehensive library for decoupling authentication and authorization logic from application code.
  • Authentication Providers - Decouples identity verification from storage by delegating credential validation to interchangeable service providers.
  • Cross-Site Request Forgery Protections - Prevents request forgery by generating and validating unique tokens for state-changing requests.
  • Password Hashing Utilities - Hashes and verifies passwords using secure cryptographic methods to protect credentials at rest.
  • Request Access Restrictions - Authorizes access requests by separating security logic from application code to control user entry to protected resources.
  • Role-Based Access Control - Enforces granular access control policies by evaluating user roles and permissions against defined security rules.
  • Resource Access Control - Authorizes resource access by decoupling security rules from application code to strictly control system component interaction.
  • Role-Based Access Control - Manages complex, hierarchical role structures to restrict user access to specific application features.
  • Persistent Session Managers - Handles login and logout lifecycles, including session persistence and programmatic control over active user states.
  • User Authentications - Verifies user identity by decoupling authentication logic from the underlying storage mechanism.
  • Web Application Security - Provides a modular framework for verifying user identities and managing session lifecycles in web applications.
  • Authentication Strategy Patterns - Encapsulates diverse login methods into swappable objects to define custom verification workflows.
  • Authentication Lifecycle Signals - Dispatches lifecycle signals during authentication transitions to facilitate custom logging and session management.
  • Request Token Validators - Generates and verifies unique cryptographic tokens for state-changing operations to ensure requests originate from authorized sessions.
  • Authentication Event Triggers - Manages authentication events by dispatching lifecycle signals to trigger custom handling of user session states.
  • Brute Force Protections - Implements rate-limiting and throttling policies to prevent unauthorized access via credential guessing.
  • Authentication Rate Limiters - Protects login endpoints by throttling authentication attempts to mitigate brute-force attacks.
  • Custom Authentication Providers - Defines custom authentication workflows to gain full control over credential verification and session establishment.
  • Enterprise Identity Providers - Integrates with external enterprise directory services to synchronize user credentials and centralize access management.
  • Access Control - Decouples authorization logic to provide centralized management of user permissions and resource access.
  • Attribute-based Access Controls - Provides attribute-based access control to evaluate user permissions against defined security policies for specific resources.
  • Custom Authorization Logic - Defines custom authorization logic using specific rules to determine if a user possesses necessary permissions for an action.
  • Directory Service Integrations - Integrates with external identity providers to synchronize user credentials and roles with enterprise directory services.
  • User Role Management - Structures user permissions into nested trees to simplify the assignment and evaluation of granular access rights.
  • Secure Password Updating - Secures user passwords by applying modern hashing algorithms and supporting automatic migration to stronger encryption standards.
  • Controller Action Authorization - Authorizes user actions by evaluating assigned roles and permissions against defined security policies.

Star history

Star history chart for symfony/securityStar history chart for symfony/security

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Security

Similar open-source projects, ranked by how many features they share with Security.
  • symfony/security-httpsymfony avatar

    symfony/security-http

    1,712View on GitHub↗

    This project provides a comprehensive security framework for PHP applications, designed to manage the entire lifecycle of user authentication and authorization. It functions as a middleware layer that intercepts incoming HTTP requests to enforce security policies, resolve user identities, and maintain persistent sessions across web interactions. The framework distinguishes itself through a modular, event-driven architecture that integrates directly into the application lifecycle. It supports diverse authentication methods, including standard form-based logins, API bearer tokens, and federated

    PHPcomponentphpsymfony
    View on GitHub↗1,712
  • codeigniter4/codeigniter4codeigniter4 avatar

    codeigniter4/CodeIgniter4

    5,924View on GitHub↗

    CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web applications. It provides a lightweight toolkit with minimal configuration, organizing application logic into controllers, models, and views for clean separation of concerns. The framework includes a fluent query builder for constructing SQL statements programmatically, PSR-4 autoloading with namespace mapping, and a service-based dependency injection container for managing shared class instances. The framework distinguishes itself through its comprehensive set of built-in tools

    PHPcodeignitercodeigniter4framework-php
    View on GitHub↗5,924
  • wekan/wekanwekan avatar

    wekan/wekan

    20,971View on GitHub↗

    Wekan is an open-source, self-hosted Kanban project management tool used for organizing workflows through boards, lists, and cards. It is a real-time web application that allows teams to manage tasks on private infrastructure. The platform distinguishes itself with extensive data migration tools, specifically for importing boards and cards from Trello. It supports enterprise-grade identity integration via LDAP, OpenID Connect, and OAuth2, and offers flexible storage options including PostgreSQL as a primary relational backend and pluggable cloud storage for attachments. The system covers a w

    JavaScript
    View on GitHub↗20,971
  • spring-projects/spring-securityspring-projects avatar

    spring-projects/spring-security

    9,535View on GitHub↗

    Spring Security is a comprehensive security framework for Java applications that provides authentication and authorization for both web and non-web environments. It functions as an implementation of authentication and authorization logic integrated with the Java runtime environment to protect sensitive resources from unauthorized access. The framework includes toolkits for implementing OpenID Connect and OAuth 2.0 authorization servers and clients, as well as tools for integrating SAML 2.0 identity providers to enable cross-domain single sign-on. It utilizes a role-based access control system

    Javaframeworkjavasecurity
    View on GitHub↗9,535
See all 30 alternatives to Security→

Curated searches featuring Security

Hand-picked collections where Security appears.
  • Web security middleware

Frequently asked questions

What does symfony/security do?

This project is a comprehensive security framework for PHP applications, providing a modular system for verifying user identities and enforcing access control policies. It functions as a security middleware that decouples authentication and authorization logic from core application code, allowing for centralized management of user sessions, credentials, and resource access.

What are the main features of symfony/security?

The main features of symfony/security are: PHP Security Frameworks, User Authentication Systems, Authentication and Authorization, Authentication Providers, Cross-Site Request Forgery Protections, Password Hashing Utilities, Request Access Restrictions, Role-Based Access Control.

What are some open-source alternatives to symfony/security?

Open-source alternatives to symfony/security include: symfony/security-http — This project provides a comprehensive security framework for PHP applications, designed to manage the entire lifecycle… codeigniter4/codeigniter4 — CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web… wekan/wekan — Wekan is an open-source, self-hosted Kanban project management tool used for organizing workflows through boards,… spring-projects/spring-security — Spring Security is a comprehensive security framework for Java applications that provides authentication and… theorchid/platform — Platform is a framework for building back-office applications and administrative dashboards using Laravel. It… aarondl/authboss — Authboss is a modular HTTP authentication framework for managing user identity, session lifecycles, and password…