/CodeAngel-Security

Security Framework for PHP

Primary LanguagePHPBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Codeangel Security Framework for PHP

Build Status

##Installation

With Composer: You can install with composer, Simply add to your composer.json

{
    "require": {
        "codeangel/security": "1.*@alpha"
    }
}       

Manually: Just clone the repository, add the path to your include_path and then define a PSR-0 autolaoder

git clone https://github.com/cythrawll/CodeAngel-Security.git
set_include_path('/path/to/codeangel/library/src'.PATH_SEPARATOR.get_include_path());

function codeagelAutoLoader($classname) {
    $className = ltrim($className, '\\');
    $filename = str_replace('\\', DIRECTORY_SEPARATOR, $classname).'.php';
    require $filename;
}

spl_autoload_register('codeangelAutoLoader');

##Requirements

  • PHP >= 5.3
  • openssl extension (required)
  • mcrypt extension (recommended)
  • PDO (recommended)

##Documentation