Skeleton bundle for custom Contao 4 bundles
Switch branches/tags
Nothing to show
Clone or download
BugBuster1701 and leofeyer Fix the download URL (see #1)

Bitte auch in den Vortragsfolien korrigieren:


b6c5203 Fix the download URL.
Latest commit f185547 Aug 14, 2018
Failed to load latest commit information.
src Initial commit. May 31, 2018
tests Initial commit. May 31, 2018
.editorconfig Initial commit. May 31, 2018
.gitignore Initial commit. May 31, 2018
.php_cs.dist Initial commit. May 31, 2018
LICENSE Initial commit. May 31, 2018 Fix the download URL (see #1) Aug 14, 2018
composer.json Initial commit. May 31, 2018
phpunit.xml.dist Initial commit. May 31, 2018

Contao 4 skeleton bundle

Contao is an Open Source PHP Content Management System for people who want a professional website that is easy to maintain. Visit the project website for more information.

You can use the skeleton bundle as basis for your own Contao bundle.


Download the skeleton bundle:

mv skeleton-bundle-master [package name]
cd [package name]


First adjust the following files:

  • .php_cs.php
  • composer.json
  • phpunit.xml.dist

Then rename the following files and/or the references to SkeletonBundle in the following files:

  • src/ContaoManager/Plugin.php
  • src/DependencyInjection/ContaoSkeletonExtension.php
  • src/ContaoSkeletonBundle.php
  • tests/ContaoSkeletonBundleTest.php

Finally add your custom classes and resources.


Run the PHP-CS-Fixer and the unit test before you release your bundle:

vendor/bin/php-cs-fixer fix -v