alcatraz / security
Security Alcatraz Framework.
Installs: 90
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/alcatraz/security
Requires
- alcatraz/annotation: ^1.1.0
- alcatraz/kernel: ^1.1.0
- alcatraz/owl: ^1.1.0
- alcatraz/session: ^1.1.0
This package is auto-updated.
Last update: 2025-10-15 15:36:38 UTC
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]