To find a suitable extension for a desired function, you have three options.
You can search for an extension on the extensions.contao.org website.
You can search for an extension directly within the Contao Manager of your installation.
You can search for an extension via the command line.
Search e.g. for extensions of the vendor “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 an extension, you can install it via the Contao Manager or the command line.
my-domain.com/contao-manager.phar.php
) and enter your login data.The installation process may take several minutes. Details about the running process can be displayed by clicking on the icon.
If you want to install the extension terminal42/contao-easy_themes
, enter “EasyThemes” in the search field, click
“Add”, …
… then go to “Packages” and apply the changes.
Once finished, run the Contao install tool to update the database. The extension is now ready to be used.
ssh
.php composer.phar require <extension>
to install a single extension or php composer.phar require <extension1> <extension2> …
to install multiple extensions.contao:migrate
or use the Contao install tool to update the database.We log in and navigate to the project root.
ssh user@example.com
cd www/my-project/
Let’s install terminal42/contao-easy_themes
.
php composer.phar require terminal42/contao-easy_themes
php vendor/bin/contao-console contao:migrate
The contao:migrate
command is available in versions 4.9 and up. You can alternatively use the Contao install tool.