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][1]
for more information., (*1)
You can use the skeleton bundle as basis for your own Contao bundle., (*2)
Install
Download the skeleton bundle:, (*3)
wget https://github.com/contao/manager-plugin/archive/master.zip
unzip master.zip
mv skeleton-bundle-master [package name]
cd [package name]
Customize
First adjust the following files:, (*4)
.php_cs.php
composer.json
phpunit.xml.dist
README.md
Then rename the following files and/or the references to SkeletonBundle in
the following files:, (*5)
src/ContaoManager/Plugin.php
src/DependencyInjection/ContaoSkeletonExtension.php
src/ContaoSkeletonBundle.php
tests/ContaoSkeletonBundleTest.php
Finally add your custom classes and resources., (*6)
Release
Run the PHP-CS-Fixer and the unit test before you release your bundle:, (*7)
vendor/bin/php-cs-fixer fix -v
vendor/bin/phpunit