TWERPLEX

Version 1.0.0 · CodeCanyon edition · PHP 8.3 or newer

Security

What the application does on its own, what the owner can switch on, and how to get back in when something locks you out.

Built in

Settings for the owner

System → Settings → Security:

Access review

System → Staff → Access review lists every staff member with their role, sensitive permissions, last sign-in and two-factor state, API tokens with their last use, and accounts or tokens that have been idle for a long time, so the list can be trimmed. The review can be exported as CSV.

Recovery commands

For the cases where the settings above lock out the only person who can change them:

php artisan staff:clear-ip-allowlist          # remove every entry from the IP allowlist
php artisan staff:reset-two-factor you@example.com   # switch off 2FA for one staff member
php artisan extensions:disable <slug>         # switch one extension off without loading it
php artisan extensions:disable --all          # switch every extension off

Creating the file storage/app/extensions.safe puts the application in safe mode: no extension is loaded at all until the file is removed. Use it when an extension breaks the site.

Cookies

CookiePurpose
session cookie (name derived from the installation)The signed-in session for staff and clients. Encrypted, HTTP-only, secure on HTTPS.
XSRF-TOKENThe CSRF token for forms and the client-side scripts.
twerplex_client_deviceMarks a browser that has signed in to the client area successfully.
twerplex_update, twerplex_restoreLet the owner keep access while an update or a restore runs in maintenance mode. Removed when it ends.

Files to protect

↑