Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.12 KB

README.md

File metadata and controls

45 lines (34 loc) · 1.12 KB

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