⚙️ PhPstrap Admin Panel Guide

This guide walks you through accessing the Admin Panel, managing users and modules, configuring settings, and keeping your site healthy and secure.

Quick tip: The default Admin Panel URL is usually /admin/. If you changed the admin path in your configuration, use that custom path instead.

1) Access & Authentication

  1. Visit https://yourdomain.com/admin/.
  2. Log in with an administrator account created during installation or via the CLI/DB.
  3. If 2FA is enabled (via a module), complete the second step to finish logging in.

Roles & Permissions (Typical Setup)


The Admin Panel is organized into a few predictable areas:


3) Managing Users

  1. Go to Users → All Users to see the list.
  2. Select Add User to create a new account. Provide name, email, role, and temporary password.
  3. Use Edit to change roles, reset password, or suspend/reactivate an account.
Security best practice: Use strong passwords and limit the number of Super Admins. Enable 2FA if available.

4) Modules: Install, Configure, Update

Modules extend PhPstrap with new features. Common examples: SMTP Mailer, hCapture, and custom content modules.

Install a Module

  1. Upload the module folder to /modules/<module-name>/.
  2. Visit Admin → Modules. The module should appear in the list.
  3. Click Install (or Enable) and follow any prompts (DB migrations, settings).

Configure a Module

  1. From Admin → Modules, click the module’s Settings.
  2. Fill in required fields (e.g., SMTP host/port or hCapture site/secret keys).
  3. Save and test the feature in a non-production environment when possible.

Update a Module

  1. Replace the module files with the new version (keep a backup).
  2. Visit Admin → Modules and run any Update/migration steps if prompted.
  3. Clear cache and verify functionality.
See Installing Modules and Module Development Guide for deeper details.

5) Global Settings

Navigate to Admin → Settings to adjust application-level configuration.

Some advanced options may live in /includes/config.php or environment variables depending on your setup.


6) Tools: Logs, Cache, Backups

# Example: database-only backup (MySQL/MariaDB)
mysqldump -u USER -p DATABASE_NAME > /backups/phpstrap_$(date +%F).sql

7) Security Checklist


8) Troubleshooting

Still stuck? Visit GitHub Issues with error details and logs (omit secrets).

9) Next Steps

Maintained by the PhPstrap community. Contributions welcome — see Contributing.