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 nowTo 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.