Install extensions

This article is machine translated.

Search for extensions

To find a suitable extension for a desired function, you have three options.

website

You can search for an extension on the website extensions.contao.org.

Extensions search on extensions.contao.org

Contao Manager

You can search for an extension in the Contao Manager of your installation.

Advanced search in Contao Manager

Command line

You can search for an extension via the command line.

Search e.g. for extensions of the company “codefog”:

php composer.phar search codefog

Result of the search:

codefog/contao-haste haste extension for Contao Open Source CMS
codefog/contao-cookiebar cookiebar extension for Contao Open Source CMS
codefog/contao-news_categories News Categories bundle for Contao Open Source CMS
codefog/tags-bundle Tags bundle for Contao Open Source CMS
codefog/contao-social_images social_images extension for Contao Open Source CMS
codefog/contao-mobile_menu mobile_menu extension for Contao Open Source CMS
codefog/contao-bootstrap Bootstrap extension for Contao Open Source CMS
codefog/contao-widget_tree_picker widget_tree_picker extension for Contao Open Source CMS
codefog/contao-polls polls extension for Contao Open Source CMS
codefog/contao-member_export Member Export bundle for Contao Open Source CMS
codefog/contao-link-registry Link Registry bundle for Contao Open Source CMS
codefog/contao-instagram Instagram for Contao Open Source CMS
codefog/contao-events_subscriptions events_subscriptions extension for Contao Open Source CMS
codefog/contao-template_override template_override extension for Contao Open Source CMS
codefog/contao-elements-filter elements-filter extension for Contao Open Source CMS

Once you have found the desired extension, you can install it using the Contao Manager or the command line.

Install extensions

Installation with the Contao Manager

You need to log back in to Contao Manager first. To do so, call up your domain with the extension/contao-manager.phar.php again and enter your login data.

If you want to install the extension “terminal42/contao-easy_themes”, enter “EasyThemes” in the search field and click on “Add”. Repeat the search if you want to find more extensions and mark them for installation.

Search for extensions in Contao Manager

Afterwards, change to the “Packages” tab and click on “Apply changes” to start the installation. The installation can now take several minutes. Details about the installation process can be displayed by clicking on the icon Show/Hide Console Outputbelow.

Installing extensions in Contao Manager

Once Contao Manager has installed the extension(s), you have to run the Contao installer to update the database.

Extensions installed in Contao Manager

Installation via the command line {#installation-over-the-command line}

You have logged on to your server with your user name and domain.

ssh benutzername@example.com

To do this, change to the directory of your Contao installation on the console.

cd www/example/

With this command requireyou add the new package to the file composer.jsonand download it, as well as all packages this package is pending from.

Install a single extension:

php composer.phar require terminal42/contao-easy_themes

Install multiple extensions:

php composer.phar require terminal42/notification_center terminal42/contao-leads

Once the installation of the extension(s) is complete, you need to run the Contao install tool to update the database.