codeangel/security

CodeAngel Security Framework

1.0.0-alpha1 2013-03-17 03:01 UTC

This package is not auto-updated.

Last update: 2024-11-17 05:02:02 UTC


README

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