Download the PHP package sleep-cat/opencc-php without Composer
On this page you can find all versions of the php package sleep-cat/opencc-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sleep-cat/opencc-php
More information about sleep-cat/opencc-php
Files in sleep-cat/opencc-php
Download sleep-cat/opencc-php
More information about sleep-cat/opencc-php
Files in sleep-cat/opencc-php
Vendor sleep-cat
Package opencc-php
Short Description OpenCC made with PHP
License MIT
Homepage https://github.com/alphasnow/opencc
Package opencc-php
Short Description OpenCC made with PHP
License MIT
Homepage https://github.com/alphasnow/opencc
Please rate this library. Is it a good library?
Informations about the package opencc-php
opencc-php
介绍
中文简繁转换开源项目,支持词汇级别的转换、异体字转换和地区习惯用词转换(中国大陆、臺湾、香港)。
安装
-
第一步,在服务器安装
opencc
- 第二步,使用
Composer
安装opencc-php
应用配置
Laravel应用
-
(Laravel5.5+ 忽略)在
config/app.php
注册 ServiceProvider 和 Facade -
发布配置文件
-
修改配置文件
config/opencc.php
或修改环境配置
.env
快速使用
Laravel应用
其他应用
预设配置
- s2t.json Simplified Chinese to Traditional Chinese 简体到繁体
- t2s.json Traditional Chinese to Simplified Chinese 繁体到简体
备注说明
- 如需PHP原生扩展, 可使用 opencc4php.
- Window系统
opencc
配置示例
License
See LICENSE.
All versions of opencc-php with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
symfony/process Version ^2.7 || ^3.0 || ^4.0 || ^5.0
neutron/temporary-filesystem Version ^3.0
symfony/process Version ^2.7 || ^3.0 || ^4.0 || ^5.0
neutron/temporary-filesystem Version ^3.0
The package sleep-cat/opencc-php contains the following files
Loading the files please wait ....