juancamunoz/country-code-to-emoji-flags 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

Download per Month License

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2022-04-12