定制 alcatraz/security 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

alcatraz/security

最新稳定版本:1.1.0

Composer 安装命令:

composer require alcatraz/security

包简介

Security Alcatraz Framework.

README 文档

README

Security Alcatraz Framework

CREATE TABLE users (
        id int primary key auto_increment,
        login varchar(100) unique not null,
        pass varchar(100) not null,
        lastAccess timestamp,
        activated tinyint(1) not null default 0
);

After:

use Alcatraz\Owl\Generator\ClassGenerator;

$generator = new ClassGenerator();
$generator->run();

Copy Users.php in path/to/project/Application/Entities/Generator to path/to/project/Application/Entities

Open file path/to/project/vendor/alcatraz/kernel/Alcatraz/Kernel/Controller.php and paste code in method __construct()

use Alcatraz\Security\Security;

class Controller {
 
    function __construct(){
        Security::verifySession();
    }

... [rest of the code]

统计信息

  • 总下载量: 90
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-01