Managing Paid WordPress Plugins¶
Overview¶
Lemone maintains paid WordPress plugins in private GitLab repositories for version control and consistent deployments across projects. This guide covers how to update paid plugins.
Updating Paid Plugins¶
Process¶
Step 1: Locate the Plugin Repository
Find the plugin repository at: https://codepot.nl/developers/plugins/paid
Common paid plugins:
- Advanced Custom Fields Pro (advanced-custom-fields)
- Gravity Forms (gravityforms)
- WP Migrate DB Pro (wp-migrate-db-pro)
- WPML (wpml)
Step 2: Clone the Repository Locally
Step 3: Remove Existing Files
# Remove all files in the repository
rm -rf *
rm -rf .* 2>/dev/null # Remove hidden files (except .git)
Step 4: Download New Plugin Version
- Go to the plugin's official website
- Log in with Lemone credentials
- Download the latest version
- Extract the plugin ZIP file
Step 5: Copy New Files to Repository
# Assuming you downloaded and extracted to ~/Downloads/plugin-name/
cp -r ~/Downloads/plugin-name/* .
Step 6: Verify the Version
Double-check which version you're updating to:
Or check README or CHANGELOG files.
Step 7: Commit the Changes
Use this commit message format:
Example:
Step 8: Push to Repository
Step 9: Create a Version Tag
Option A: Via Command Line
Example:
Option B: Via GitLab Web Interface
- Navigate to the repository in GitLab
- Go to Code → Tags → New tag
- Enter tag name in format:
vX.X.X(e.g.,v6.3.3) - Add release notes (optional)
- Click Create tag
Step 10: Update Projects
Now you can update this paid plugin in projects that use it.
Using Paid Plugins in Projects¶
Adding via Composer¶
In your project's composer.json:
{
"repositories": [
{
"type": "package",
"package": {
"name": "paid-plugin/advanced-custom-fields-pro",
"version": "6.3.3",
"type": "wordpress-muplugin",
"source": {
"type": "git",
"url": "git@codepot.nl:developers/plugins/paid/advanced-custom-fields.git",
"reference": "tags/v6.3.3"
}
}
}
],
"require": {
"paid-plugin/advanced-custom-fields-pro": "v6.3.3"
}
}
Updating in Projects¶
Step 1: Update composer.json
Change the version number in both repositories and require sections.
Step 2: Update Composer
Or to update all plugins:
Step 3: Test
- Test the update in local development (Lando)
- Verify plugin functionality
- Check for breaking changes
- Review plugin changelog
Step 4: Deploy
Once tested, commit and deploy:
Common Paid Plugins¶
Advanced Custom Fields Pro¶
- Repository:
advanced-custom-fields - Official site: advancedcustomfields.com
- Composer package:
paid-plugin/advanced-custom-fields-pro - Installation type:
wordpress-muplugin
Gravity Forms¶
- Repository:
gravityforms - Official site: gravityforms.com
- Composer package:
paid-plugin/gravityforms - Installation type:
wordpress-plugin
WP Migrate DB Pro¶
- Repository:
wp-migrate-db-pro - Official site: deliciousbrains.com
- Composer package:
paid-plugin/wp-migrate-db-pro - Installation type:
wordpress-plugin
Best Practices¶
- Test updates locally first - Always test plugin updates in Lando before deploying
- Read changelogs - Review plugin changelogs for breaking changes
- Update regularly - Keep plugins up to date for security and features
- Version control - Always use tagged versions in Composer
- Commit lock file - Always commit
composer.lockafter updates - Document breaking changes - Note any breaking changes in commit messages
Troubleshooting¶
Plugin Update Fails¶
Issue: Composer can't find the plugin version
Solution: Check that:
- Tag exists in GitLab repository
- Tag format is correct (vX.X.X)
- SSH key has access to the repository
- Version matches in both repositories and require
License Key Issues¶
Some plugins require license keys. Store them in .env:
Configure in config/application.php:
// Advanced Custom Fields Pro
Config::define('ACF_PRO_LICENSE', env('ACF_PRO_LICENSE'));
// Gravity Forms
Config::define('GF_LICENSE_KEY', env('GF_LICENSE'));
Composer Authentication¶
If Composer can't access GitLab repositories:
See Also¶
- Advanced Custom Fields - ACF usage and best practices
- WordPress Roots Stack - Bedrock, Sage, Trellis
- Git Development Guide - Git workflows and tagging
- GitLab - GitLab server management