PHP code example of comolo / contao-branding

1. Go to this page and download the library: Download comolo/contao-branding library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

comolo / contao-branding example snippets


// app/AppKernel.php

// ...
$bundles = [
    new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
    new Symfony\Bundle\SecurityBundle\SecurityBundle(),
    new Symfony\Bundle\TwigBundle\TwigBundle(),
    // ... and some more

    // add this line
    new Comolo\Contao\BrandingBundle\ComoloContaoBrandingBundle(),
];
// ...