1. Go to this page and download the library: Download contao-bootstrap/grid 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 / grid example snippets
class AppKernel
{
public function registerBundles()
{
$bundles = [
// ...
new Contao\CoreBundle\HttpKernel\Bundle\ContaoModuleBundle('metapalettes', $this->getRootDir()),
new Contao\CoreBundle\HttpKernel\Bundle\ContaoModuleBundle('multicolumnwizard', $this->getRootDir()),
new Netzmacht\Contao\Toolkit\Bundle\NetzmachtContaoToolkitBundle(),
new ContaoBootstrap\Core\ContaoBootstrapCoreBundle(),
new ContaoBootstrap\Grid\ContaoBootstrapGridBundle()
];
}
}
bash
# Using the contao manager
$ php contao-manager.phar.php composer ap/grid~2.0
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.