Registry / auth / symfony-security

symfony-security

JSON →
library4.4.50phppackagistunverified

Provides a complete security system for your web application, including authentication and authorization.

composer require symfony/security
INSTALL
IMPORT
SIG · SYMFONY-SECURITY
S
symfony-security
authphpv4.4.50
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Security
✓ use Symfony\Component\Security\Core\Security;

Access the current user via the Security component.

use Symfony\Component\Security\Core\Security; $security = new Security($tokenStorage, $authorizationChecker); $user = $security->getUser();
Debug
Known issues
breakingRequires Symfony 4.4+ and PHP 7.4+.
fix
Upgrade to Symfony 4.4+ and PHP 7.4+.
affects: >=4.4.0
Upgrade
Version history
4.4.50latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
20
Resources
symfony-security — pip install symfony-security · libregistry