PHP Package: symfony/security-core

Symfony Security Core provides authentication and authorization services for PHP applications using powerful security mechanisms.

Current Version: 7.3.0
Last Updated: 2025-05-29
PHP Requirement: >=8.2
Dependencies:
symfony/http-foundation
symfony/event-dispatcher
symfony/dependency-injection
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Symfony Security Core is a robust PHP library that offers a comprehensive suite of tools for managing authentication, access control, and user permissions in web applications. It integrates seamlessly with Symfony's framework, delivering a secure and reliable solution for safeguarding sensitive data and restricting unauthorized access.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 7.3.0

Download Download v7.3.0

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/symfony/security-core/7.3.0/loader.php';
require_once 'libs/symfony/http-foundation/7.3.0/loader.php';
require_once 'libs/symfony/event-dispatcher/7.3.0/loader.php';
require_once 'libs/symfony/dependency-injection/7.3.0/loader.php';

use Symfony\Component\Security\Core\Authorization\AuthorizationChecker;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Symfony\Component\HttpFoundation\Request;

$obj = new AuthorizationChecker();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.