Skip to content

Skeleton bundle for custom Contao 4 bundles

License

Notifications You must be signed in to change notification settings

marcel-mathias-nolte/contao4-base

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

This is my fork of the official skeleton bundle prepared for my own bundles

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

Install

Download the skeleton bundle:

wget https://github.com/marcel-mathias-nolte/contao4-base/archive/master.zip
unzip master.zip
mv skeleton-bundle-master [package name]
cd [package name]

Customize

First adjust the following files:

  • .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:

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

Finally add your custom classes and resources.

Release

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

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

About

Skeleton bundle for custom Contao 4 bundles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • PHP 100.0%