File tree 1 file changed +23
-1
lines changed
1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 6
6
[ ![ Quality Score] ( https://img.shields.io/scrutinizer/g/unicodeveloper/laravel-emoji.svg?style=flat-square )] ( https://scrutinizer-ci.com/g/unicodeveloper/laravel-emoji )
7
7
[ ![ Total Downloads] ( https://img.shields.io/packagist/dt/unicodeveloper/laravel-emoji.svg?style=flat-square )] ( https://packagist.org/packages/unicodeveloper/laravel-emoji )
8
8
9
- > A Laravel 5 Package for Using & Working With Emojis
9
+ > A Laravel 5 Package for Using & Working With Emojis in your Laravel Apps
10
10
11
11
## Installation
12
12
@@ -36,11 +36,29 @@ Also, register the Facade like so:
36
36
37
37
## Usage
38
38
39
+ Translate Emoji names to Unicode and Vice-versa.
40
+
41
+ ``` php
42
+ >> Emoji::findByAlias("kissing_heart")
43
+ => "😘"
44
+
45
+ >> Emoji::findByName("sunglasses")
46
+ => "😎"
47
+
48
+ >> Emoji::findByUnicode("\u{1F603}")
49
+ => "smiley"
50
+
51
+ ```
52
+ This package contains some of the characters listed on http://unicode.org/emoji/charts/full-emoji-list.html
39
53
40
54
## Contributing
41
55
42
56
Please feel free to fork this package and contribute by submitting a pull request to enhance the functionalities.
43
57
58
+ I am accepting PR's that add characters to emoji.php.
59
+ Please use [ this list] ( http://unicode.org/emoji/charts/full-emoji-list.html ) to look up the unicode value and
60
+ the name of the character.
61
+
44
62
## How can I thank you?
45
63
46
64
Why not star the github repo? I'd love the attention! Why not share the link for this repository on Twitter or HackerNews? Spread the word!
@@ -50,6 +68,10 @@ Don't forget to [follow me on twitter](https://twitter.com/unicodeveloper)!
50
68
Thanks!
51
69
Prosper Otemuyiwa.
52
70
71
+ ## Inspiration
72
+
73
+ * [ Emoji] ( https://github.com/spatie/emoji )
74
+
53
75
## License
54
76
55
77
The MIT License (MIT). Please see [ License File] ( LICENSE.md ) for more information.
You can’t perform that action at this time.
0 commit comments