bartacus/platformsh-bundle
Composer 安装命令:
composer require bartacus/platformsh-bundle
包简介
Support bundle for using Upsun together with TYPO3
README 文档
README
This bundle provides some helper functionality if you use TYPO3 on the Upsun cloud hosting platform.
Usage
In your config/system/additional.php, you can use the UpsunConfigLoader to automatically configure your TYPO3 instance:
use Bartacus\Bundle\PlatformshBundle\UpsunConfigLoader; $upsunLoader = new UpsunConfigLoader(); $upsunLoader->applyDatabaseConfiguration('database'); $upsunLoader->applyRedisCaching('rediscache'); $upsunLoader->applySolrService('solrsearch'); $upsunLoader->mapRoutes(['main']);
Methods
applyDatabaseConfiguration(string $relationshipName = 'database'): Maps the database relationship to$GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default'].applyRedisCaching(string $relationshipName = 'rediscache'): Sets up Redis for common TYPO3 cache groups (pages,pagesection,hash,extbase).mapRoutes(array $siteIdentifiers = ['main']): Maps Upsun routes to environment variables (e.g.,TYPO3_BASE_DOMAIN_MAIN).
统计信息
- 总下载量: 36.05k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2017-09-04