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

  1. Self-hosted packages from plugins that we have developed ourselves
  2. Self-hosted packages from premium plugins
  3. Packages from the WordPress plugin repository (WPackagist)
  4. 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.

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.