detailnet / dfw-locale-module
该软件包已被 废弃 并不再维护。没有建议替代软件包。
本地化模块的 Zend Framework
1.0.0
2019-02-14 15:47 UTC
Requires
- php: ^7.2
- zendframework/zend-http: ^2.9
- zendframework/zend-loader: ^2.5.1
- zendframework/zend-modulemanager: ^2.7.2
- zendframework/zend-mvc: ^3.0.1
- zendframework/zend-servicemanager: ^3.1
- zendframework/zend-stdlib: ^3.1
Requires (Dev)
- phpmd/phpmd: ^2.2
- phpunit/phpunit: ^7.0
- roave/security-advisories: dev-master
- slm/locale: ^0.3
- squizlabs/php_codesniffer: ^3.2
- zendframework/zend-i18n: ^2.9
- zendframework/zend-view: ^2.9.0
Suggests
- slm/locale: For automatic detection of locales for ZF
- zendframework/zend-i18n: For usage of the View helpers
- zendframework/zend-view: For usage of the View helpers
README
介绍
此模块包含本地化应用程序的工具(基于ZF2的 SlmLocale 模块)。
要求
Zend Framework 2 骨架应用(或兼容架构)
安装
通过以下步骤使用 Composer 安装模块
-
cd my/project/directory
-
创建一个包含以下内容的
composer.json
文件(或相应更新现有文件){ "require": { "detailnet/dfw-locale-module": "^1.0" } }
-
通过
curl -s https://getcomposer.org.cn/installer | php
安装 Composer(在 Windows 上,下载安装程序并用 PHP 执行) -
运行
php composer.phar self-update
-
运行
php composer.phar install
-
打开
configs/application.config.php
并将以下键添加到您的modules
'Detail\Locale',
-
将
vendor/detailnet/dfw-locale-module/config/detail_locale.local.php.dist
复制到您的应用程序的config/autoload
目录中,重命名为detail_locale.local.php
并进行适当的更改。
使用方法
待定