laxap/bootstrap-grids
Composer 安装命令:
composer require laxap/bootstrap-grids
包简介
Predefined gridelements Bootstrap 5 content elements: column grids, grids for simple accordions, and tabs.
README 文档
README
Thanks to @doemedia and @prdt3e for their support on compatibility to TYPO3 v13. <3
Predefined gridelements Bootstrap 5 content elements: column grids, grids for simple accordions, and tabs.
Installation
- Install the extension via composer:
composer require laxap/bootstrap-grids. Ifgridelementsis not installed, it will be installed automatically since it's a requirement. - Include the static TypoScript templates. Both
bootstrap_gridsandgridelementstemplates are required (the order of templates is important).
NOTE: As of 2025-03-03, gridelements v12 doesn't support PHP 8.4, but we have an issue open they are responding to fix that. So, we will preemptively support PHP 8.4 in anticipation of that fix.
Usage
Use one of the predefined grids on your website.
NOTE: When using "Tabs From Content Elements" and "Accordion From Content", you need to set the header Type to Hidden. If you don't then the accordion/tab title will also display as a heading tag in the content area.
Updating to bootstrap_grids v5
The paths of TypoScript files have changed. Please ensure you reselect the template in your sys_template record.
Contribution
We would love your help! We have Docker set up with helper scripts to make contributions easy.
Development setup
- Install Docker.
- Fork the boostrap_grids repository.
- Clone the forked repository (e.g.
git clone https://github.com/your_username/bootstrap_grids.git), change into the directory, then checkout a branch or create desired branch. - OPTIONAL: Do
cp -i .docker/.env.dist .docker/.envbefore the next step if you need anything other than default versions of TYPO3/PHP. Otherwise.docker/.env.distwill automatically be copied to.docker/.envif it doesn't already exist and you can skip this step. - OPTIONAL: Start Xdebug if you need to debug PHP code.
- Run
.docker/bin/start && .docker/bin/composer install - Login to http://localhost:8080/typo3 with username
adminand passwordPass123!.
NOTE: The .docker/templates/[typo3-version-specified-in-.env] directory is copied to the project root during .docker/bin/start, so from that point on you'll need to edit files in their new location to see live changes. When you're done with the install, you can delete the container and those copied files by doing .docker/bin/clean or by doing it manually.
Docker scripts
| Command | Description |
|---|---|
.docker/bin/start |
To start dev environment |
.docker/bin/stop |
To stop dev environment |
.docker/bin/clean |
Does docker compose down --remove-orphans and deletes generated/copied files (except .docker/.env) and resets the database to its initial state using the starting point in .docker/templates/database/database.sqlite |
.docker/bin/logs |
Runs .docker/bin/compose logs -f |
.docker/bin/cli |
Enter the dev environment container |
.docker/bin/composer [command] |
Runs composer commands (e.g. ./docker/bin/composer install) |
.docker/bin/typo3 [command] |
Runs vendor/bin/typo3 commands (e.g. .docker/bin/typo3 cache:flush) |
.docker/bin/compose [command] |
Runs docker compose commands (e.g. ./docker/bin/compose up -d --build) |
Change log
- See the release notes.
Special thanks
- Daniel Corn: Defining the grids via pageTS brings a lot of advantages.
- Josef Körner: For reducing the accordion TypoScript setup.
laxap/bootstrap-grids 适用场景与选型建议
laxap/bootstrap-grids 是一款 基于 HTML 开发的 Composer 扩展包,目前已累计 119.24k 次下载、GitHub Stars 达 10, 最近一次更新时间为 2017 年 04 月 25 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「bootstrap」 「typo3」 「TYPO3 CMS」 「Gridelements」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 laxap/bootstrap-grids 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 laxap/bootstrap-grids 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 laxap/bootstrap-grids 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
GraphQL authentication for your headless Craft CMS applications.
Set Links with a specific language parameter
Supercharged text field validation.
TYPO3 CMS extension to create gallery content element with preset crop ratios and pagination
An interactive tour through the TYPO3 backend.
Views for the package MedicOneSystems Livewire Datatables with Bootstrap 4
统计信息
- 总下载量: 119.24k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 30
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2017-04-25



