📦 How to Install a Module in PhPstrap
Modules let you extend your app with new features. Follow these steps to install one through the admin panel.
âś… Step 1: Upload the Module
- Download the module from GitHub or the PhPstrap Marketplace.
- Unzip the downloaded file.
- Upload the folder to your server’s
/modules/
directory.
e.g.,/your-app-root/modules/example-module/
Note: The module must include a valid
module.json
file in its root directory.
âś… Step 2: Open the Admin Module Library
Navigate to the /admin/modules
page. You’ll see something like this:

âś… Step 3: Scan for Modules
Click the 🔍 Scan for Modules button.
- PhPstrap will look for new module folders in
/modules/
. - If a valid module is found, it will appear in the list.
âś… Step 4: Enable and Install
- Click + Install Module.
- Confirm and proceed through any module-specific setup prompts.
- Once installed, the module will move to the Installed Modules tab.
🛠️ Troubleshooting
- Module doesn’t appear? Check that
module.json
exists and has valid JSON syntax. - Install fails? Review your PHP error logs or ensure the module is compatible with your PhPstrap version.
Need help? Join the community on GitHub.