silverorange/admin
Composer 安装命令:
composer require silverorange/admin
包简介
Framework for backend admin website.
README 文档
README
Admin is a framework for back-end administration systems. Admin is built using Swat and Site.
Installation
Make sure the silverorange composer repository is added to the composer.json
for the project and then run:
composer require silverorange/admin
Enabling 2FA (Two Factor Authentication)
- Install the Admin package ≥
6.1.0 - Add two composer packages:
composer require robthree/twofactorauth composer require bacon/bacon-qr-code
-
Run
composer install -
Add the new database fields:
alter table adminuser add two_fa_secret varchar(255); alter table adminuser add two_fa_enabled boolean not null default false; alter table adminuser add two_fa_timeslice integer not null default 0;
- Edit your
.inifiles (both stage and production) and add:
[admin]
two_fa_enabled = On
- Let your users know! They will now see 2FA setup in the “Login Settings” in the top-right corner.
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 2
其他信息
- 授权协议: LGPL-2.1
- 更新时间: 2026-06-23