unicodeveloper / laravel-emoji

:package: :yum: Laravel 5 Package that harnesses the power of PHP 7 unicode features to provide emojis in your laravel app
MIT License
208 stars 33 forks source link

Characters? #7

Closed dotmbf closed 8 years ago

dotmbf commented 8 years ago

Is this just supposed to show the unicode characters, or an actual emoji, because my app just shows the unicode characters..

unicodeveloper commented 8 years ago

What version of PHP are you using? @dominicusdev It's supposed to show actual emojis

dotmbf commented 8 years ago

I use PHP 5.6, I have a special version where I have properly downgraded the code. Can this really be the issue?

unicodeveloper commented 8 years ago

Yes, If you are using any version less than PHP 7, you need to add a special hack for it to show actual emojis. This package was designed strictly for PHP 7 because it supports actual emojis out of the box @dominicusdev

dotmbf commented 8 years ago

How would my other addons for Laravel function with PHP 7? Does PHP7 still support PHP5.6 code, or are those functions deprecated?

unicodeveloper commented 8 years ago

PHP 7 to a large extent still supports PHP 5.6 code. Personally, all my PHP 5.6 code still worked when I upgraded to PHP 7. If you are unsure/afraid, you can check this guide

dotmbf commented 8 years ago

Shit, cool.. Thanks, works now! :joy:

dotmbf commented 8 years ago

So, is there any reason it doesn't get shown as a coloured emoji and just is a few pixels?

unicodeveloper commented 8 years ago

coloured emoji?..How does it show?, Can I see a snapshot

dotmbf commented 8 years ago

Yeah, http://i.imgur.com/fjRtWxq.png

unicodeveloper commented 8 years ago

Wow, it should actually show the colored version?...what operating system and browser are you using?

dotmbf commented 8 years ago

I'm currently running Windows 10 and Google Chrome.

dotmbf commented 8 years ago

What I want to know is, are they supposed to look like A Iphone, Samsung or whatever? Or a whole different kind of emoji?

unicodeveloper commented 8 years ago

They look different based on the device and platform you are using

unicodeveloper commented 8 years ago

Check this out http://unicode.org/emoji/charts/full-emoji-list.html. This is how it displays on all the various devices

dotmbf commented 8 years ago

Aw, that's sad. Would like to use iPhone's smilies for my application.