PHPackages                             o2system/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. [Framework](/categories/framework)
4. /
5. o2system/security

ActivePackage[Framework](/categories/framework)

o2system/security
=================

O2System Security

v1.7.15(5y ago)31.8k12PHPPHP ^7.2.0

Since Aug 10Pushed 5y ago2 watchersCompare

[ Source](https://github.com/o2system/security)[ Packagist](https://packagist.org/packages/o2system/security)[ RSS](/packages/o2system-security/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (10)Dependencies (1)Versions (27)Used By (2)

[![alt text](https://repository-images.githubusercontent.com/75949178/d960b700-5c98-11ea-813c-a94432078605 "O2System Security Atom")](https://repository-images.githubusercontent.com/75949178/d960b700-5c98-11ea-813c-a94432078605)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/9b5b27e9fe054cb200c03245d423cc83931b0cd07a08c669c92fe8065bac2ebc/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f3273797374656d2f73656375726974792f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/o2system/security/?branch=master)[![Build Status](https://camo.githubusercontent.com/8dc8877178e10e5b7e752ed2728512129dccdc5dbbc9bdb5a44fe6728ec0db4e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f3273797374656d2f73656375726974792f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/o2system/security/build-status/master)[![PHP Composer](https://github.com/o2system/security/workflows/PHP%20Composer/badge.svg)](https://github.com/o2system/security/workflows/PHP%20Composer/badge.svg)[![Latest Stable Version](https://camo.githubusercontent.com/cd0362b1d77dc21ce77d26f8225e90ec8f079e369d88cae8a283e1647242b5eb/68747470733a2f2f706f7365722e707567782e6f72672f6f3273797374656d2f73656375726974792f762f737461626c65)](https://packagist.org/packages/o2system/security)[![Total Downloads](https://camo.githubusercontent.com/ccf0d27cb293b4ccd1f33ccb93e8a503d033b9d8ac424d68ec009916a03723de/68747470733a2f2f706f7365722e707567782e6f72672f6f3273797374656d2f73656375726974792f646f776e6c6f616473)](https://packagist.org/packages/o2system/security)[![License](https://camo.githubusercontent.com/68a55d3affcd68c340b66defbefd3f82815183bd7f04927354dd5bc4e9aad83b/68747470733a2f2f706f7365722e707567782e6f72672f6f3273797374656d2f73656375726974792f6c6963656e7365)](https://packagist.org/packages/o2system/security)

O2System Security
=================

[](#o2system-security)

O2System Security is a collection of class libraries to help build security procedures within the O2System PHP Framework but it can also be used independently for use in your PHP application.

### Featured Authentications

[](#featured-authentications)

- HTTP Authentication
- User Authentication
- WebToken Authentication
- JSON WebToken (JWT) Authentication
- OAuth 2.0 based on JWT Authentication

### Featured One Way Encryptions

[](#featured-one-way-encryptions)

- Password
- Hmac

### Featured Two Way Encryptions

[](#featured-two-way-encryptions)

- Binary
- Cookie
- Crypt via PHP's MCrypt and/or OpenSSL extensions

### Featured Encoders

[](#featured-encoders)

- Base64
- JSON

### Featured Filters

[](#featured-filters)

- UTF8
- XSS

### Form

[](#form)

- Validation
- Validator

### Featured Generators

[](#featured-generators)

- MachineID
- Nonce
- Signature
- Token
- UID
- UUID

### Featured Protections

[](#featured-protections)

- Blockchain
- Throttle
- Captcha
- Cross Site Request Forgery (CSRF)
- Firewall
- HTTP Authentication
- Origin Authentication
- Token Authentication
- Cross Site Scripting (XSS)

### Composer Installation

[](#composer-installation)

The best way to install O2System Security is to use [Composer](https://getcomposer.org)

```
composer require o2system/security

```

> Packagist:

### Usage

[](#usage)

Documentation is available on this repository [wiki](https://github.com/o2system/security/wiki) or visit this repository [github page](https://o2system.github.io/security).

### Ideas and Suggestions

[](#ideas-and-suggestions)

Please kindly mail us at [contact@o2system.id](mailto:contact@o2system.id%5D)

### Bugs and Issues

[](#bugs-and-issues)

Please kindly submit your [issues at Github](http://github.com/o2system/security/issues) so we can track all the issues along development and send a [pull request](http://github.com/o2system/security/pulls) to this repository.

### System Requirements

[](#system-requirements)

- PHP 7.2+
- [Composer](https://getcomposer.org)
- [O2System Session](https://github.com/o2system/session)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 85.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~44 days

Recently: every ~79 days

Total

26

Last Release

2094d ago

PHP version history (3 changes)v1.0.0PHP &gt;=5.6.0

v1.5.123PHP ~7.2.0

v1.5.124PHP ^7.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/e2ac781bdba53fdce5ac7a9f090a4afd42b18766646036370661ffefde7811de?d=identicon)[steevenz](/maintainers/steevenz)

![](https://www.gravatar.com/avatar/ccce1c77fabdaf8734f54c6b1a82324c4ad1278a62910c7cab0b5b15d941cf7b?d=identicon)[o2system](/maintainers/o2system)

---

Top Contributors

[![steevenz](https://avatars.githubusercontent.com/u/218405?v=4)](https://github.com/steevenz "steevenz (40 commits)")[![turahe](https://avatars.githubusercontent.com/u/6832622?v=4)](https://github.com/turahe "turahe (7 commits)")

---

Tags

phpframeworkinterfacesutilitieslibraries

### Embed Badge

![Health badge](/badges/o2system-security/health.svg)

```
[![Health](https://phpackages.com/badges/o2system-security/health.svg)](https://phpackages.com/packages/o2system-security)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
