PHPackages                             comphp/security - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. comphp/security

ActiveLibrary[Security](/categories/security)

comphp/security
===============

Security contracts and services for authorization, protection, and identity-aware features.

0.3(2mo ago)021MITPHPPHP ^8.5

Since May 18Pushed 2mo agoCompare

[ Source](https://github.com/commonphp/security)[ Packagist](https://packagist.org/packages/comphp/security)[ RSS](/packages/comphp-security/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (1)

CommonPHP Security
==================

[](#commonphp-security)

CommonPHP Security provides security-focused contracts and services for CommonPHP applications. It supports authorization, protection, identity-aware behavior, CSRF handling, and other security concerns that sit around authentication.

The package keeps security behavior explicit and modular while allowing authentication sources, session behavior, and HTTP integrations to remain driver-based or package-specific.

Requirements
------------

[](#requirements)

- PHP `^8.5`
- `comphp/runtime:^0.3`

Installation
------------

[](#installation)

Once this package is available through your Composer repositories, install it with:

```
composer require comphp/security
```

Usage
-----

[](#usage)

```
