webdevvie/emoji
最新稳定版本:1.3.0
Composer 安装命令:
composer require webdevvie/emoji
包简介
A php class that has descriptive names for the emojis and said emojis as its value
关键字:
README 文档
README
A handy dumb class for using Emojis in your php project. In some IDEs emojis don't show up. They are 🎉 💩-ers. But their editor is so good.
Now you can use Emojis in your code without your IDE crapping out on you.
Installation
Just use:
composer require webdevvie/emoji
Usage:
Two ways to use it prepended with C_ or not:
First use Emoji:
use Webdevvie\Emoji\Emoji;
now use the emoji class:
Emoji::FLAG_FOR_NETHERLANDS to get the Dutch flag 🇳🇱
or if you want to display it in a console command use :
Emoji::C_FLAG_FOR_NETHERLANDS to get the Dutch flag with a space after it so it shows up properly in the console.
or maybe you are more of a Unicorn person 🦄:
Emoji::UNICORN_FACE
This is nothing special. Just a simple helper class. There are no tests, there are no methods.
CHEATSHEET
Want a cheatsheet Go here
Acknowledgement
All information for this class was taken from Unicode.org
Also
If you like this library. Find me on twitter @webdevvie or my personal site johnbakker.name and throw me a 👍 😀
统计信息
- 总下载量: 12.29k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2016-06-01