Authenticating to packages.dxpr.com

  1. Ensure your composer version is 1.10 or higher
  2. In your project's composer.json file, add the DXPR composer repository:
        "repositories": [
            {
                "type": "composer",
                "url": "https://packages.dxpr.com/8"
            },
            {
                "type": "composer",
                "url": "https://packages.drupal.org/8"
            },
            {
                "type": "composer",
                "url": "https://asset-packagist.org"
            }
    Example: Lightning DXPR composer.json 
     
  3. Get your composer token from the downloads page
     
  4. Run the following command to install the token: 
    composer config --global bearer.packages.dxpr.com <token value from #3>
  5. You can now install DXPR Builder by running the following command:
    composer require dxpr/dxpr_builder

If you upgrade from a business subscription to an enterprise subscription you need to update your token in order to access the DXPR Builder Enterprise module. You can do this by editing the file ~/.composer/auth.json.

Note: you can also install our new Drupal installation profile with Composer. Instructions here: https://github.com/dxpr/lightning_dxpr_project