phpSec is a open-source, PSR-0 compatible, PHP security library that takes care of the common security tasks a web developer faces.

data encryption xss filter hashing google auth yubikey .. and more

Download now
Version: 0.6.0 [release notes]

Install using Composer

To install using Composer just add phpSec to your composer.json file in your project directory.

{
  "require": {
    "phpsec/phpsec":"0.6.*"
  }
}

Composer takes care of downloading, updating and loading files.

License

phpSec is released under the MIT License.

Use it for what you want, how you want.