We manage all plugins and themes with composer. This is the best way to keep everything up to date and to have a clean and easy way to install and update plugins.
We have different kinds of Composer packages
- Self-hosted packages from plugins that we have developed ourselves
- Self-hosted packages from premium plugins
- Packages from the WordPress plugin repository (WPackagist)
- Packages hostet by the plugin developer
All of these kinds of packages have here own way to configure them in the composer.json file.
Add new packages
If you need to add a new package, do it manually. Please check wich kind of package it is and place the package in alphabetical order in the correct section.
Self-hosted packages from plugins that we have developed ourselves
All our self developed plugins are hosted on our own server: Funke-PE GitHub
To install them via composer, add the following in the root composer.json in repositories section:
{
"type": "vcs",
"url": "git@github.com:funke-pe/slug-of-the-plugin.git"
}
Self-hosted packages from premium plugins
Some premium plugins are hosted on our own server Funke-PE GitHub because they don’t support composer management. We add them like our own plugins in the repositories section of the composer.json.
- multisite-robotstxt-manager
- Perfmatters
- Origin source: https://perfmatters.io/
- Funke PE: https://github.com/funke-pe/perfmatters
- WP All Import Pro
- Origin source: https://www.wpallimport.com/
- Funke PE: https://github.com/funke-pe/wp-all-import-pro
If you want to update them you have to go to the origin source and download the latest version and push it to our server. Then you can update the composer.json file.
Packages from the WordPress plugin repository (WPackagist)
Packages hostet by the plugin developer
Yoast SEO Premium
Since v17.7 we have problem to install the plugin via composer. As an workaround we download the zip file from Yoast, unzip, delete the old plugin and copy the new version to the plugins folder. Update the composer.json as normal. After that we run composer install to update the composer.lock file.
