randal
This is how I usually update, install, uninstall flarum extensions
First back up your main site. i.e. site files and the database.
Download web files and database to your computer
Open lamp server (for me, I use ampps) >
open localhost directory
Here you can add another folder for another site or if there is a flarum site already replace all files except config.php.
If you choose to replace the site, open PhpMyAdmin and select flarum db and drop all tables. From there, import the db you downloaded earlier.
If you want a new site create a directory and extract the web files you downloaded then edit config.php to set db details and localhost URL.
Having installed composer on Windows
open cmd by pressing Ctrl+r then type cmd
To check if composer is installed, enter this command: composer -V
You should see composer version if it is installed. Else google how to install composer on Windows.
Cd to the flarum directory
example cd C:\Program Files\flarumpath
From there run install/uninstall command
example to install image uploader run composer require fof/upload "*"
After installing/uninstalling all required extensions, run: php flarum cache:clear
to clear cache
Check if the site is operating as expected and if it is, backup the localhost files and db then upload them back to the online site. Lastly, edit config.php accordingly.