tadcka/text-bundle

Symfony2 的国际化文本管理器

安装: 40

依赖: 0

建议者: 0

安全: 0

星星: 0

关注者: 2

分支: 0

开放问题: 0

类型:symfony-bundle

v0.2.0 2014-10-01 10:51 UTC

This package is not auto-updated.

Last update: 2024-09-24 02:33:08 UTC


README

Scrutinizer Quality Score

本地化文本管理器。

安装

步骤 1: 使用 composer 下载 TadckaTextBundle

在 composer.json 中添加 TadckaTextBundle

{
    "require": {
        "tadcka/text-bundle": "dev-master"
    }
}

现在运行以下命令让 composer 下载 bundle

$ php composer.phar update tadcka/text-bundle

步骤 2: 启用 bundle

在 kernel 中启用 bundle

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Tadcka\TextBundle\TadckaTextBundle(),
    );
}

许可证

此 bundle 使用 MIT 许可证。请参阅 bundle 中的完整许可证。

代码许可证: Resources/meta/LICENSE