Skip to content

commonphp/security

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • PHP ^8.5
  • comphp/runtime:^0.3

Installation

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

composer require comphp/security

Usage

<?php

// TODO: Write usage

Package Notes

This package should focus on authorization, CSRF-style protection, identity-aware checks, and security service contracts. Authentication sources and login behavior may be provided by comphp/auth and related drivers.

Error Handling

Security failures should use package-specific exceptions or explicit result objects so applications can distinguish denied access from runtime failures.

Documentation

License

MIT. See LICENSE.md.

About

No description, website, or topics provided.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages