PHP code example of contao-bootstrap / navbar
1. Go to this page and download the library: Download contao-bootstrap/navbar 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/ */
contao-bootstrap / navbar example snippets
class AppKernel
{
public function registerBundles()
{
$bundles = [
// ...
new \ContaoCommunityAlliance\MetaPalettes\CcaMetaPalettesBundle(),
new \Netzmacht\Contao\Toolkit\Bundle\NetzmachtContaoToolkitBundle(),
new \Mvo\ContaoGroupWidget\MvoContaoGroupWidgetBundle(),
new \Netzmacht\Html\NetzmachtHtmlBundle(),
new \ContaoBootstrap\Core\ContaoBootstrapCoreBundle(),
new \ContaoBootstrap\Grid\ContaoBootstrapNavbarBundle()
];
}
}
bash
# Using the contao manager
$ php contao-manager.phar.php composer ap/navbar ^3.0