contao-bootstrap / grid
Bootstrap 网格组件
2.4.3
2022-08-18 08:36 UTC
Requires
- php: ^7.4 || ^8.0
- ext-dom: *
- ext-pdo: *
- contao-bootstrap/core: ^2.0
- contao-community-alliance/meta-palettes: ^2.0
- contao/core-bundle: ^4.9
- doctrine/dbal: ^2.11 || ^3.3
- menatwork/contao-multicolumnwizard-bundle: ^3.4
- netzmacht/contao-toolkit: ^3.7
- symfony/config: ^4.4 || ^5.4
- symfony/dependency-injection: ^4.4 || ^5.4
- symfony/http-foundation: ^4.4 || ^5.4
- symfony/http-kernel: ^4.4 || ^5.4
- symfony/routing: ^4.4 || ^5.4
- symfony/security-core: ^4.4 || ^5.4
- symfony/translation-contracts: ^1.1 || ^2.0
Requires (Dev)
- contao/manager-plugin: ^2.0
- contao/news-bundle: ^4.4
- doctrine/coding-standard: ^9.0
- phpcq/coding-standard: ^2.1.2
- phpcq/plugin-api: 1.x-dev
- phpcq/runner-bootstrap: 1.x-dev
Suggests
- contao/news-bundle: Use grid in news list and news archive modules
Conflicts
- dev-develop / 2.5.x-dev
- dev-master / 2.4.x-dev
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.1
- 2.3.0
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 2.0.0-beta3
- 2.0.0-beta2
- 2.0.0-beta1
- 2.0.0-alpha1
- dev-dependabot/composer/nyholm/psr7-1.7.0
- dev-dependabot/composer/symfony/security-bundle-5.4.22
- dev-dependabot/composer/symfony/http-kernel-5.4.20
- dev-dependabot/composer/twig/twig-3.4.3
- dev-hotfix/2.2.3
- dev-feature/repeat-image-size
This package is auto-updated.
Last update: 2024-09-09 18:04:40 UTC
README
此扩展为 Contao CMS 提供了 Bootstrap 4 网格工具。
特性
- 在主题设置中管理网格定义
- 内容元素
- 表单元素
- 网格模块
- 与主题设置导入/导出
变更日志
查看变更日志
要求
- PHP 7.1
- Contao ~4.4
安装
管理版
使用管理版时,安装包非常简单。只需在 Contao Manager 中搜索包并安装,或者可以使用 CLI。
# Using the contao manager $ php contao-manager.phar.php composer require contao-bootstrap/grid~2.0 # Using composer directly $ php composer.phar require contao-bootstrap/grid~2.0
Symfony 应用程序
如果您在没有 contao/manager-bundle 的情况下使用 symfony 应用程序中的 Contao,您必须手动注册以下包
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() ]; } }