Download the PHP package hyperf-ext/translatable without Composer
On this page you can find all versions of the php package hyperf-ext/translatable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download hyperf-ext/translatable
More information about hyperf-ext/translatable
Files in hyperf-ext/translatable
Download hyperf-ext/translatable
More information about hyperf-ext/translatable
Files in hyperf-ext/translatable
Vendor hyperf-ext
Package translatable
Short Description The Hyperf Multilingual Model package.
License MIT
Package translatable
Short Description The Hyperf Multilingual Model package.
License MIT
Please rate this library. Is it a good library?
Informations about the package translatable
Hyperf 多语言模型组件
该组件为数据库模型提供实现多语言的能力。
安装
发布配置
文件位于
config/autoload/translatable.php
。注意,该组件依赖
hyperf/translation
,不要忘记也要发布其配置并按需设置。
配置
使用示例
迁移
create_posts_table.php
create_post_translations_table
模型
Post.php
PostTranslation.php
获取已翻译的属性
存储已翻译的属性
填充翻译
All versions of translatable with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.3
ext-swoole Version >=4.5
hyperf/config Version ~2.2.0
hyperf/database Version ~2.2.0
hyperf/db-connection Version ~2.2.0
hyperf/di Version ~2.2.0
hyperf/framework Version ~2.2.0
hyperf/model-listener Version ~2.2.0
hyperf/translation Version ~2.2.0
ext-swoole Version >=4.5
hyperf/config Version ~2.2.0
hyperf/database Version ~2.2.0
hyperf/db-connection Version ~2.2.0
hyperf/di Version ~2.2.0
hyperf/framework Version ~2.2.0
hyperf/model-listener Version ~2.2.0
hyperf/translation Version ~2.2.0
The package hyperf-ext/translatable contains the following files
Loading the files please wait ....