faimmedia/i18n-json
Composer 安装命令:
composer require faimmedia/i18n-json
包简介
Simple PHP library to validate and match JSON translation files, and also pretty format them.
README 文档
README
Simple PHP library to validate and match JSON translation files, and also pretty format them.
Install & usage
Add composer
Install this library using composer:
composer require faimmedia/i18n-json
Run validator (using CLI)
Use the ./vendor/bin/i18n-json command to run the json compare.
Development
Start up docker containers:
docker compose up -d
Run tests:
./bin/test
Run validator CLI:
docker compose exec -T test /app/bin/i18n-json --path=/app/test/json/compare1
统计信息
- 总下载量: 525
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-05-30