codeangel / security
CodeAngel 安全框架
1.0.0-alpha1
2013-03-17 03:01 UTC
Requires
- php: >=5.3.2
- phpunit/phpunit: 3.7.18
This package is not auto-updated.
Last update: 2024-09-22 04:19:36 UTC
README
##安装
使用Composer:您可以使用composer进行安装,只需将其添加到您的composer.json文件中
{ "require": { "codeangel/security": "1.*@alpha" } }
手动:只需克隆存储库,将路径添加到您的include_path,然后定义一个PSR-0自动加载器
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');
##要求
- PHP >= 5.3
openssl
扩展(必需)mcrypt
扩展(推荐)PDO
(推荐)
##文档