contao-bootstrap / layout
Contao中的Bootstrap布局集成
2.1.1
2022-04-21 09:21 UTC
Requires
- php: ^7.4 || ^8.0
- contao-bootstrap/core: ^2.0
- contao/core-bundle: ^4.9
- doctrine/dbal: ^2.11 || ^3.3
- netzmacht/contao-toolkit: ^3.7
- netzmacht/html: ^2.0.2
- symfony/config: ^4.4 || ^5.4
- symfony/dependency-injection: ^4.4 || ^5.4
- symfony/http-kernel: ^4.4 || ^5.4
Requires (Dev)
- contao/manager-plugin: ^2.0
- doctrine/coding-standard: ^9.0.
- netzmacht/phpspec-phpcq-plugin: *@dev
- phpcq/coding-standard: ^2.1.2
- phpcq/plugin-api: 1.x-dev
- phpcq/runner-bootstrap: 1.x-dev
- phpspec/phpspec: ^6.3.0 || ^7.0
Conflicts
- dev-master / 2.1.x-dev
- dev-develop / 2.1.x-dev
- 2.1.1
- 2.1.0
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 2.0.0-beta4
- 2.0.0-beta3
- 2.0.0-beta2
- 2.0.0-beta1
- 2.0.0-alpha2
- 2.0.0-alpha1
- 1.0.2
- 1.0.1
- 1.0.0
- 1.0.0-rc1
- 1.0.0-beta3
- 1.0.0-beta2
- 1.0.0-beta1
- dev-dependabot/composer/nyholm/psr7-1.7.0
- dev-dependabot/composer/symfony/http-kernel-5.4.20
- dev-dependabot/composer/symfony/security-bundle-5.4.20
- dev-dependabot/composer/twig/twig-3.4.3
- dev-dependabot/composer/contao/core-bundle-4.13.3
This package is auto-updated.
Last update: 2024-08-23 12:23:38 UTC
README
此扩展提供Bootstrap集成到Contao。
Contao-Bootstrap是一个模块化集成。布局组件允许使用后端布局编辑器定义基于网格的布局。
功能
- 基于网格的布局
- 自动替换定义的CSS类
- 自动替换图片和表格类
变更日志
查看变更日志
要求
- PHP 7.1
- Contao ~4.4
安装
管理版
当使用管理版时,安装包非常简单。只需在Contao Manager中搜索包并安装它。或者,您也可以使用CLI。
# 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应用程序
如果您在没有contao/manager-bundle的symfony应用程序中使用Contao,您必须手动注册以下包
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(), ]; } }