Customized template for Contao 4.13 project

dev-main 2023-03-18 21:45 UTC

This package is auto-updated.

Last update: 2023-03-18 21:46:35 UTC


This is a template for projects based on Contao 4 Managed Edition, that simply has some additional tools preconfigured.

What's added?

Webpack Encore and Foundation are pre-set for building frontend (don't forget to run npm install).

Accordingly, ameotoko/contao-encore-bridge is added, which only does two things:

  1. It requires and enables symfony/webpack-encore-bundle
  2. It adds two helper methods, allowing you to use encoreEntryScriptTags() and encoreEntryLinkTags() in your .html5 templates as well as in Twig.

Additionally, Deployer is added to Composer's require-dev requirements, along with a sensible configuration example (see deploy.php). It also includes two helper tasks (database:release and database:retrieve) to help with synchronizing your dev and production databases (thanks to folks at terminal42).