php-translation/flysystem-adapter
Composer 安装命令:
composer require php-translation/flysystem-adapter
包简介
Adapter for flysystem.
README 文档
README
This is an PHP-translation adapter for Flysystem.
Install
composer require php-translation/flysystem-adapter
Symfony bundle
If you want to use the Symfony bundle you may activate it in kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Translation\PlatformAdapter\Flysystem\Bridge\Symfony\TranslationAdapterFlysystemBundle(),
);
}
Configure Flysystem adapters like
# /app/config/config.yml translation_adapter_flysystem: filesystems: local: flysystem_service: 'local.service_id' path: 'path/to/trans' foobar: flysystem_service: 'foobar.service_id' path: 'path/to/trans'
This will produce two services named php_translation.adapter.flysystem.local
and php_translation.adapter.flysystem.foobar that could be used in the configuration for
the Translation Bundle.
Documentation
Read our documentation at http://php-translation.readthedocs.io.
Contribute
Do you want to make a change? Pull requests are welcome.
统计信息
- 总下载量: 36
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-01-02