Install Beaver Builder via Composer

You can install Beaver Builder Plugin, Beaver Builder Theme, or Beaver Themer via Composer. To get started, check out this guide from the folks at Delicious Brains:

https://deliciousbrains.com/wp-migrate-db-pro/doc/installing-via-composer/

Follow that article to set up a composer.json file, and add the code in the Repositories section. Then substitute the code below for any of the Beaver Builder components you want to add.

In that code example, the "repositories" entry specifies three packages to be installed. Replace the code for those packages with the code below.

Tip: If you use this code to update regularly, just replace the version number in each package before you run the code.

Package code for Beaver Builder Plugin

Replace one of the "type": "package" sections with the following code.

{
    "type": "package",
    "package": {
        "name": "beaver-builder/bb-plugin",
        "type": "wordpress-plugin",
        "version": "<VERSION_NUMBER>",
        "dist": {
            "type": "zip",
            "url": "https://updates.wpbeaverbuilder.com/?fl-api-method=composer_download&download=bb-plugin-<VERSION>.zip&license=<LICENSE_KEY>"
        },
        "require": {
            "composer/installers": "v1.0.7"
        }
    }
}
  • Replace <VERSION_NUMBER> with the version number you want to install, for example 1.10.8.
  • In the url parameter, replace <VERSION> with the plugin version your license supports, using one of the following values:
    • standard
    • pro
    • agency
  • Replace <LICENSE_KEY> with your license key.

Package code for Beaver Builder Theme

Add a "type": "package" section with the following code.

{
    "type": "package",
    "package": {
        "name": "beaver-builder/bb-theme",
        "type": "wordpress-theme",
        "version": "<VERSION_NUMBER>",
        "dist": {
            "type": "zip",
            "url": "https://updates.wpbeaverbuilder.com/?fl-api-method=composer_download&download=bb-theme.zip&license=<LICENSE_KEY>"
        },
        "require": {
            "composer/installers": "v1.0.7"
        }
    }
}
  • Replace <VERSION_NUMBER> with the version number you want to install, for example 1.6.2.
  • Replace <LICENSE_KEY> with your license key.

Code to install Beaver Themer (Theme Builder)

Replace one of the  "type": "package" sections with the following code.

{
    "type": "package",
    "package": {
        "name": "beaver-builder/bb-theme-builder",
        "type": "wordpress-plugin",
        "version": "<VERSION_NUMBER>",
        "dist": {
            "type": "zip",
            "url": "http://updates.wpbeaverbuilder.com/?fl-api-method=composer_download&download=bb-theme-builder.zip&license=<LICENSE_KEY>"
        },
        "require": {
            "composer/installers": "v1.0.7"
        }
    }
}
  • Replace <VERSION_NUMBER> with the version number you want to install, for example 1.0.
  • Replace <LICENSE_KEY> with your license key.