silverorange/admin
Framework for backend admin website.
Maintainers
7.0.4
2026-03-17 19:50 UTC
Requires
- php: >=8.2.0
- ext-mbstring: *
- silverorange/site: ^15.3.2 || ^16.0.0
- silverorange/swat: ^7.9.2
Requires (Dev)
- bacon/bacon-qr-code: ^3.0
- friendsofphp/php-cs-fixer: 3.64.0
- phpstan/phpstan: ^1.12
- robthree/twofactorauth: ^3.0
Suggests
- bacon/bacon-qr-code: required to show QR codes for two factor auth
- robthree/twofactorauth: required for the use of two factor authentication
Provides
None
Conflicts
None
Replaces
None
LGPL-2.1 7798bf650cce712192bbcfca02810daabe441060
- Charles Waddell <charles.woop@silverorange.com>
- Isaac Grant <isaac.woop@silverorange.com>
- Michael Gauthier <mike.woop@silverorange.com>
- Nathan Frederikson <nathan.woop@silverorange.com>
- Nick Burka <nick.woop@silverorange.com>
- Steven Garrity <steven.woop@silverorange.com>
This package is auto-updated.
Last update: 2026-06-23 19:31:49 UTC
README
Admin is a framework for back-end administration systems. Admin is built using Swat and Site.
Installation
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.
