nasution/lang-detector
Composer 安装命令:
composer require nasution/lang-detector
包简介
Detect user language
关键字:
README 文档
README
This is just very simple language detector by using $_SERVER['HTTP_ACCEPT_LANGUAGE'].
The output will be standard ISO 639-1.
Installation
composer require nasution/lang-detector
Usage
require 'vendor/autoload.php'; use Nasution\LangDetector; echo LangDetector::detect(); // Output: id, en, it, ja, my, ms.
统计信息
- 总下载量: 41
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-08-16