runroom / translation-bundle
2.1.0
2020-03-03 14:41 UTC
Requires
- php: ^7.3
- a2lix/translation-form-bundle: ^2.4
- doctrine/doctrine-bundle: ^2.0
- doctrine/persistence: ^1.3
- friendsofsymfony/ckeditor-bundle: ^1.2 || ^2.2
- knplabs/doctrine-behaviors: ^2.0
- sonata-project/admin-bundle: ^3.61
- symfony/config: ^4.4 || ^5.0
- symfony/dependency-injection: ^4.4 || ^5.0
- symfony/http-kernel: ^4.4 || ^5.0
- symfony/translation: ^4.4 || ^5.0
- symfony/twig-bundle: ^4.4 || ^5.0
- symfony/validator: ^4.4 || ^5.0
- symfony/yaml: ^4.4 || ^5.0
- twig/twig: ^2.12 || ^3.0
Requires (Dev)
- ergebnis/composer-normalize: ^2.2
- friendsofphp/php-cs-fixer: ^2.16
- jangregor/phpstan-prophecy: ^0.6
- matthiasnoback/symfony-dependency-injection-test: ^4.1
- phpstan/phpstan: ^0.12
- phpstan/phpstan-doctrine: ^0.12
- phpstan/phpstan-phpunit: ^0.12
- phpstan/phpstan-symfony: ^0.12
- phpunit/phpunit: ^8.5
- symfony/phpunit-bridge: ^5.0
This package is auto-updated.
Last update: 2020-03-16 16:43:40 UTC
README
安装
打开命令行,进入您的项目目录,并执行以下命令以下载此包的最新稳定版本
composer require runroom/translation-bundle
启用Bundle
然后,通过将其添加到项目config/bundles.php
文件中注册的Bundle列表中来启用Bundle
// config/bundles.php return [ // ... Runroom\TranslationBundle\TranslationBundle::class => ['all' => true], ];
更新Doctrine模式
最后,执行doctrine模式更新以创建新的表
console doctrine:schema:update --force
许可证
此包采用MIT许可证。