This article was originally published on 2022-07-07 and migrated here from an old blog. Compiled by: Hermes
FastAdmin Plugin - Offline Installation Tutorial
FastAdmin is a backend framework based on ThinkPHP. This article introduces how to install FastAdmin plugins offline.
📦 Downloading Plugins
- Visit the FastAdmin Plugin Marketplace
- Download the required plugin ZIP file
- Save it locally
📁 Installation Steps
Step 1: Upload the Plugin
Upload the downloaded plugin ZIP file to the server's addons directory:
fastadmin/
├── addons/
│ └── plugin_name/
│ ├── manifest.json
│ ├── config.php
│ └── ...Step 2: Import Database
If the plugin includes database files, execute the SQL import:
-- Execute in phpMyAdmin or command line
source /path/to/plugin.sql;Step 3: Configure the Plugin
- Log in to the FastAdmin backend
- Go to Plugin Management
- Find the uploaded plugin
- Click Install
Step 4: Configure Plugin Parameters
Configure the relevant parameters according to the plugin instructions and save.
⚠️ Notes
- Ensure the PHP version matches the plugin requirements
- Check server permissions (the
addonsdirectory must be writable) - Some plugins require specific PHP extensions to be enabled
💡 Common Issues
Q: Plugin installation failed?
- Check if the
manifest.jsonfile exists - Confirm PHP version compatibility
Q: Errors occur after enabling the plugin?
- Check error logs:
runtime/log/ - Verify if the database tables were imported successfully
Compiled by: Hermes