Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/contao-bootstrap/layout
Bootstrap 4 Contao Layout Component
https://github.com/contao-bootstrap/layout
Last synced: 5 days ago
JSON representation
Bootstrap 4 Contao Layout Component
- Host: GitHub
- URL: https://github.com/contao-bootstrap/layout
- Owner: contao-bootstrap
- License: lgpl-3.0
- Created: 2014-03-07T21:39:07.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-05-23T09:45:45.000Z (over 1 year ago)
- Last Synced: 2024-11-08T21:41:30.630Z (9 days ago)
- Language: PHP
- Homepage: https://contao-bootstrap.de/komponenten/layout.html
- Size: 625 KB
- Stars: 2
- Watchers: 2
- Forks: 5
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
Contao-Bootstrap Layout
=====================[![Version](http://img.shields.io/packagist/v/contao-bootstrap/layout.svg?style=for-the-badge&label=Latest)](http://packagist.org/packages/contao-bootstrap/layout)
[![GitHub issues](https://img.shields.io/github/issues/contao-bootstrap/layout.svg?style=for-the-badge&logo=github)](https://github.com/contao-bootstrap/layout/issues)
[![License](http://img.shields.io/packagist/l/contao-bootstrap/layout.svg?style=for-the-badge&label=License)](http://packagist.org/packages/contao-bootstrap/layout)
[![Build Status](http://img.shields.io/travis/contao-bootstrap/layout/master.svg?style=for-the-badge&logo=travis)](https://travis-ci.org/contao-bootstrap/layout)
[![Downloads](http://img.shields.io/packagist/dt/contao-bootstrap/layout.svg?style=for-the-badge&label=Downloads)](http://packagist.org/packages/contao-bootstrap/layout)This extension provides Bootstrap integration into Contao.
Contao-Bootstrap is a modular integration. The layout component allows to define a grid based layout using the
backend layout editor.Features
--------- Grid based layouts
- Auto replace defined css classes
- Auto replace image and table classes
Changelog
---------See [changelog](CHANGELOG.md)
Requirements
------------- PHP 7.1
- Contao ~4.4
Install
-------### Managed edition
When using the managed edition it's pretty simple to install the package. Just search for the package in the
Contao Manager and install it. Alternatively you can use the CLI.```bash
# Using the contao manager
$ php contao-manager.phar.php composer require contao-bootstrap/layout~2.0@beta# Using composer directly
$ php composer.phar require contao-bootstrap/layout~2.0@beta
```### Symfony application
If you use Contao in a symfony application without contao/manager-bundle, you have to register following bundles
manually:```php
class AppKernel
{
public function registerBundles()
{
$bundles = [
// ...
new Contao\CoreBundle\HttpKernel\Bundle\ContaoModuleBundle('metapalettes', $this->getRootDir()),
new ContaoBootstrap\Core\ContaoBootstrapCoreBundle(),
new Netzmacht\Html\NetzmachtHtmlBundle(),
new ContaoBootstrap\Layout\ContaoBootstrapLayoutBundle(),
];
}
}```