juancamunoz/country-code-to-emoji-flags
Composer 安装命令:
composer require juancamunoz/country-code-to-emoji-flags
包简介
Converts string of country codes into string of emoji flags.
README 文档
README
Converts a country code to emoji flag. Most flags use a 2-letter code, but some use more (eg England=gbeng, Scotland=gbsct, Wales=gbwls, etc).
Why Emoji❓
Emoji symbol is a textual replacement for a graphic image file while having the benefits of a graphic image. The image file is already present at your intended destination (a person's device), so why would you transmit the image to them again and again? -- Use emoji!
use juancamunoz\flagEmoji\flagEmoji; echo flagEmoji::convert('uk'); # 🇬🇧 echo flagEmoji::convert('gbwls'); # 🏴 echo flagEmoji::convert('gbsct'); # 🏴 echo flagEmoji::convert('gbeng'); # 🏴
country-code-to-emoji-flags
统计信息
- 总下载量: 63
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2022-04-12