contao-bootstrap / panel
Contao CMS的Bootstrap面板组件
2.2.0
2022-10-17 08:19 UTC
Requires
- php: ^7.4 || ^8.1
- contao-bootstrap/core: ^2.0
- contao-community-alliance/meta-palettes: ^1.11 || ^2.0
- contao/core-bundle: ^4.9
- netzmacht/contao-toolkit: ^3.8
- 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
Requires (Dev)
- contao/manager-plugin: ^2.1
- doctrine/coding-standard: ^9.0
- phpcq/coding-standard: ^2.1.2
- phpcq/runner-bootstrap: 1.x-dev
Conflicts
- contao/manager-plugin: <2.1 || >= 3.0
- dev-develop / 2.3.x-dev
- dev-master / 2.2.x-dev
- 2.2.0
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 2.0.0-beta1
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 1.0.0-rc2
- 1.0.0-rc1
- 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-hotfix/2.1.2
This package is auto-updated.
Last update: 2024-09-21 23:50:48 UTC
README
此扩展提供了Bootstrap集成到Contao中。
Contao-Bootstrap是一个模块化集成。此扩展将bootstrap面板集成到Contao中。它使用Contao的默认手风琴元素并扩展了手风琴组元素。
变更日志
查看变更日志
要求
- PHP ^7.4 || ^8.0
- Contao ^4.9
安装
管理版
在使用管理版时,安装此包非常简单。只需在Contao Manager中搜索该包并安装,或者您可以使用CLI。
# Using the contao manager $ php contao-manager.phar.php composer require contao-bootstrap/panel~2.0 # Using composer directly $ php composer.phar require contao-bootstrap/panel~2.0
Symfony应用程序
如果您在symfony应用程序中使用Contao而没有contao/manager-bundle,则必须手动注册以下包
class AppKernel { public function registerBundles() { $bundles = [ // ... new Contao\CoreBundle\HttpKernel\Bundle\ContaoModuleBundle('metapalettes', $this->getRootDir()), new Netzmacht\Contao\Toolkit\Bundle\NetzmachtContaoToolkitBundle(), new ContaoBootstrap\Core\ContaoBootstrapCoreBundle(), new ContaoBootstrap\Grid\ContaoBootstrapPanelBundle() ]; } }