2017 © Pedro Peláez
 

library phpsec

A PHP security library

image

phpsec/phpsec

A PHP security library

  • Wednesday, October 7, 2015
  • by xqus
  • Repository
  • 31 Watchers
  • 209 Stars
  • 32,205 Installations
  • PHP
  • 3 Dependents
  • 1 Suggesters
  • 41 Forks
  • 24 Open issues
  • 12 Versions
  • 5 % Grown

The README.md

phpSec is no longer actively maintained, (*1)

This project is now live on Subspace! Subspace is the open-development platform where projects are maintained collectively through voting., (*2)

phpSec - PHP security library

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

Build Status Latest Stable Version Total Downloads Latest Unstable Version License, (*3)

Features

  • Data encryption
  • XSS filter
  • Password hashing
  • Secure session handler
  • CSRF protection
  • Yubikey integration
  • Authy integration
  • Random data generator

Installing

phpSec is now a PSR-0 compatible library. this means that it can easilly be installed and loaded using Composer. You can also install phpSec manually, or using Git., (*4)

Installing using Composer

To install using Composer just add phpSec to your composer.json file in your project directory., (*5)

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

Then all you need to do is to run $ php composer.phar install . phpSec can then be loaded using the Composer autoloader., (*6)

require 'vendor/autoload.php';, (*7)

Installing manually/Git

Download, checkout or peferrably add phpSec as a Git submodule. To add an autoloader to your project there is one example here. This can be initialized like this:, (*8)

<?php
require_once 'SplClassLoader.php';
$classLoader = new SplClassLoader('phpSec', '/var/www/vendor/phpSec/lib');
$classLoader->register();

If you already have a PSR-0 compatible autoloader for your project there is no need to add another. All you have to do is to register the phpSec namespace to the phpSec/lib folder., (*9)

For documentation on how to use the various phpSec functionality, take alook at the phpsec/doc repository., (*10)

System requirements

  • PHP >= 5.3.7
  • Mcrypt, if you want to encrypt stuff.

Getting help / Contact

License

phpSec is open-sourced software licensed under the MIT License., (*11)

The Versions

07/10 2015

dev-master

9999999-dev https://phpseclib.com/

A PHP security library

  Sources   Download

MIT

The Requires

 

security encryption otp cryptography session yubikey authy google auth

03/11 2014

0.6.5

0.6.5.0 https://phpseclib.com/

A PHP security library

  Sources   Download

MIT

The Requires

 

security encryption otp cryptography session yubikey authy google auth

06/06 2014

0.6.4

0.6.4.0 https://phpseclib.com/

A PHP security library

  Sources   Download

MIT

The Requires

 

security encryption otp cryptography session yubikey authy google auth

02/06 2014

0.6.3

0.6.3.0 https://phpseclib.com/

A PHP security library

  Sources   Download

MIT

The Requires

 

security encryption otp cryptography session yubikey authy google auth

02/03 2014

0.6.2

0.6.2.0 https://phpseclib.com/

A PHP security library

  Sources   Download

MIT

The Requires

 

security encryption otp cryptography session yubikey authy google auth

25/02 2013

0.6.1

0.6.1.0 https://phpseclib.com/

A PHP security library

  Sources   Download

MIT

The Requires

  • php >=5.3.7

 

security encryption otp cryptography session yubikey authy google auth

17/02 2013

0.6.0

0.6.0.0 https://phpseclib.com/

A PHP security library

  Sources   Download

MIT

The Requires

  • php >=5.3.7

 

security encryption otp cryptography session yubikey authy google auth

12/12 2012

0.5.0.x-dev

0.5.0.9999999-dev https://phpseclib.com/

A PHP security library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

security encryption otp cryptography session yubikey authy

12/12 2012

0.5.1

0.5.1.0 https://phpseclib.com/

A PHP security library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

security encryption otp cryptography session yubikey authy

05/11 2012

0.5.0

0.5.0.0 https://phpseclib.com/

A PHP security library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

security encryption otp cryptography session yubikey authy

25/08 2012

dev-no-psr-0

dev-no-psr-0 https://phpseclib.com/

A PHP security library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

security

18/08 2012

0.4.0

0.4.0.0 https://phpseclib.com/

A PHP security library

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

security encryption otp cryptography session yubikey authy