Opigno LMS User manual


Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

For installing additional contrib modules or other packages (libraries) we strongly recommend to use Composer because it allows you to install all dependencies and check if installed modules (and vendor packages) don't have any incompatibilities with added module.
For installing vendor packages and javascript libraries you can use commands in the table below.

But if you want to install a new contrib module you should bearing in mind than Opigno can be installed in two different ways - with Composer or from a tarball.

If you install Opigno with Composer (see details):

TaskComposer command
    Installing a contrib project (latest version)    composer require drupal/PROJECT
    Installing a contrib project (specific version)    composer require drupal/PROJECT:1.0.0-beta3
    Installing a javascript library (e.g. dropzone)    composer require bower-asset/dropzone

If you install Opigno from downloaded tarball (see details):


For maintaining tarball version installation you need to specify a path to contrib modules to avoid duplication and incompatibility with Opigno.
In this case, in the root "composer.json" file you should replace the string:

"modules/contrib/{$name}": ["type:drupal-module"]

with this:

"profiles/opigno_lms/modules/contrib/{$name}": ["type:drupal-module"]


When you specify a path to contrib modules for module installation you can use commands from the table above.

  • No labels