PHPackages                             axelitus/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. axelitus/security

ActiveLibrary[Security](/categories/security)

axelitus/security
=================

A framework agnostic PHP package that contains security related classes and helpers.

16

Since Nov 21Pushed 12y ago1 watchersCompare

[ Source](https://github.com/axelitus/php-security)[ Packagist](https://packagist.org/packages/axelitus/security)[ RSS](/packages/axelitus-security/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

Package axelitus/security
=========================

[](#package-axelitussecurity)

A framework agnostic PHP package that contains security related classes and helpers.

Package Information
-------------------

[](#package-information)

- **Package:** axelitus/security [![Total Downloads](https://camo.githubusercontent.com/6897ede99ce0e45e815de46d744493b962b5c5df58efcc67137723c9bb8eb670/68747470733a2f2f706f7365722e707567782e6f72672f6178656c697475732f73656375726974792f646f776e6c6f6164732e706e67)](https://packagist.org/packages/axelitus/security)
- **Root Namespace:** axelitus\\Security
- **Author:** Axel Pardemann ()
- **Repository**: [axelitus/php-base](https://github.com/axelitus/php-security "axelitus/php-security at GitHub") at GitHub
- **Build Status (master):** [![Build Status](https://camo.githubusercontent.com/458b804d6764e73943c1596f8fd5ef4485799238541fc756982072435910c24b/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6178656c697475732f7068702d73656375726974792e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/axelitus/php-security) [![Latest Stable Version](https://camo.githubusercontent.com/7cae735ad2b4537928357bb91eb7d5372c44ed990cc22af204d4c7dae59ddfad/68747470733a2f2f706f7365722e707567782e6f72672f6178656c697475732f73656375726974792f762f737461626c652e706e67)](https://packagist.org/packages/axelitus/security)
- **Build Status (develop):** [![Build Status](https://camo.githubusercontent.com/33c6d5663e4cdeeef46700171483b0e4c19ed1470be82b805c07fa8ba3c54e48/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6178656c697475732f7068702d73656375726974792e706e673f6272616e63683d646576656c6f70)](http://travis-ci.org/axelitus/php-security) [![Latest Unstable Version](https://camo.githubusercontent.com/57cd98bb9bb48e8b716ceb88e0c1a5015138beb149f112b165772ba1ea6f921b/68747470733a2f2f706f7365722e707567782e6f72672f6178656c697475732f73656375726974792f762f756e737461626c652e706e67)](https://packagist.org/packages/axelitus/security)
- **Composer Package:** [axelitus/security](http://packagist.org/packages/axelitus/security "axelitus/security at Packagist") at Packagist
- **Issue Tracker:** [axelitus/php-security](https://github.com/axelitus/php-security/issues "axelitus/php-security Issue Tracker at GitHub") Issue Tracker at GitHub

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

[](#requirements)

The requirements for this package to work are the following:

- PHP &gt;= 5.4.9 (it may work for previous 5.4.X versions but it is not tested).

Standards
---------

[](#standards)

This package is intended to follow some standards for easy contributions and usage. Recently there has been an initiative to standardize the interoperation of frameworks, though I think this easily extends to most pieces of code everyone is building. The group behind all this is the [PHP-FIG (Framework Interoperability Group)](http://www.php-fig.org), you should pay them a visit at their site.

There are already some standards marked as accepted (*final*): [PSR-0](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md), [PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md), [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) and [PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md).

**This package is intentend to be PSR-2 compliant.**

Being PSR-2 compliant means this package can be easily installed by using [Composer](getcomposer.org) from the [Packagist](http://packagist.org) package archive. Just follow the instructions in section [How to install](#how-to-install). It also means that there's a [guide for coding styles](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) and the developers and contributors should enforce this for everyone's benefit.

Contents
--------

[](#contents)

All classes are referenced from the package namespace if not otherwise stated.

- **CLASS** - CLASS description.

How to install
--------------

[](#how-to-install)

To install this package and use it in your app just follow these instructions (if you haven't read the documentation from [Composer](http://getcomposer.org) please do so before you continue):

1. Download composer if you haven't already done so (use your preferred method). Example:

```
    $ curl -s https://getcomposer.org/installer | php

```

2. Place a `require` statement inside your `composer.json` file replacing `` with the desired version. Example:

```
    "require": {
        "axelitus/secuity": ""
    }

```

3. Run the composer installer to resolve dependencies and download the packages. Example:

```
    $ php composer.phar install

```

4. In order to use the packages you have to *load* the autoloader that was generated by composer (if you are using a framework, maybe this is already done automatically). Example:

```
    require 'vendor/autoload.php';

```

5. Finally just use the package classes as needed:

```
    axelitus\Security\[\...]::();

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/61386558d4fa03cc9de21d20e76f396d5568e0e647e1cdf18f12c87f1a5f87b5?d=identicon)[axelitus](/maintainers/axelitus)

---

Top Contributors

[![axelitus](https://avatars.githubusercontent.com/u/732441?v=4)](https://github.com/axelitus "axelitus (13 commits)")

### Embed Badge

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

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

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.0M138](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

25772.0k36](/packages/paragonie-ecc)

PHPackages © 2026

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