rezozero/xilofone-plugin
最新稳定版本:1.0.0
Composer 安装命令:
composer require rezozero/xilofone-plugin
包简介
README 文档
README
Fetch XLIFF translations files from xilofone.rezo-zero.com and update them in your PHP project.
Plugin will download translations files each time you run composer update. Or you can run it manually with:
composer xilofone:fetch-files
Install
composer require --dev rezozero/xilofone-plugin
Configuration
Add the following configuration in your composer.json file:
{
"extra": {
"xilofone": {
"file_id": "30",
"destination_folder": "translations"
}
},
"config": {
"allow-plugins": {
"rezozero/xilofone-plugin": true
}
}
}
Then add your secret credentials in your project .env.local file:
XILOFONE_PLUGIN_USERNAME=username XILOFONE_PLUGIN_PASSWORD=password
Multiple files
You can fetch multiple files by adding them in your composer.json file:
{
"extra": {
"xilofone": {
"files": [
{
"file_id": "30",
"destination_folder": "translations"
},
{
"file_id": "31",
"destination_folder": "translations"
}
]
}
}
}
统计信息
- 总下载量: 2.79k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2023-09-19