laravel-lang/status-generator
Composer 安装命令:
composer require laravel-lang/status-generator
包简介
Translation status generator for Laravel Lang projects
README 文档
README
Installation
To get the latest version of Laravel Lang: Status Generator library, simply require the project using Composer:
composer require laravel-lang/status-generator --dev
Using
Create new locale
vendor/bin/lang create --locale=<locale>
To create missing locales, call the command without parameters:
vendor/bin/lang create
Download
vendor/bin/lang download --url=https://github.com/laravel/framework/archive/refs/heads/9.x.zip --project=framework --ver=9.x vendor/bin/lang download --url=https://github.com/laravel/framework/archive/refs/heads/8.x.zip --project=framework --ver=8.x vendor/bin/lang download --url=https://github.com/laravel/laravel/archive/refs/heads/9.x.zip --project=laravel --ver=9.x --copy=lang vendor/bin/lang download --url=https://github.com/laravel/laravel/archive/refs/heads/8.x.zip --project=laravel --ver=8.x --copy=lang --copy=resources/lang vendor/bin/lang download --url=https://github.com/laravel/jetstream/archive/refs/heads/2.x.zip --project=jetstream --ver=2.x vendor/bin/lang download --url=https://github.com/laravel/jetstream/archive/refs/heads/1.x.zip --project=jetstream --ver=1.x
You can also specify the --only-copy option to disable key lookups.
In this case, the mechanism will copy the found files from the paths passed in the --path parameter.
Translations within files will not be searched.
vendor/bin/lang download --url=https://github.com/laravel/laravel/archive/refs/heads/8.x.zip --project=laravel --ver=8.x --copy=lang --copy=resources/lang --only-copy
Translations status
vendor/bin/lang status
Actualize keys
vendor/bin/lang sync
Translate keys with Google Translate
Supported languages: cloud.google.com/translate/docs/languages
vendor/bin/lang translate
Upgrade from previous structure
vendor/bin/lang upgrade
laravel-lang/status-generator 适用场景与选型建议
laravel-lang/status-generator 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.86M 次下载、GitHub Stars 达 4, 最近一次更新时间为 2022 年 06 月 15 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「generator」 「laravel」 「languages」 「Laravel-lang」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 laravel-lang/status-generator 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 laravel-lang/status-generator 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 laravel-lang/status-generator 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Memio's PrettyPrinter, used to generate PHP code from given Model
Easily switch between sites on any page of your website.
A PHP library providing ISO 639-1 data.
A plugin for Laravel Lang that provides generic term translations for Laravel.
A database with ISO country information in all configured translations
Enhanced Laravel Translation Manager
统计信息
- 总下载量: 1.86M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 20
- 依赖项目数: 10
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-06-15