If you want to make sure your PHP project is secure, but you don’t have the funds to pay for sophisticated systems and comprehensive testing, you should give phpSec a try.
phpSec is an open source library that’s designed to help developers improve the security of their web applications.
The list of security features provided by phpSec includes automatic data encryption, XSS filtering, CSRF protection, support for password hashing, protection against command injection, and a secure session handler. The library also includes a random data generator, and integration with Google Authenticator, Yubikey and Authy.
The application is developer friendly and it’s PSR-0 compatible. The library can be installed with Composer by adding phpSec to the composer.json file located in the project directory.
You can download phpSec from Softpedia’s Scripts section.