2017 © Pedro Peláez
 

library emoji

An Emoji encoder and decoder with browser for Laravel 5 (unified to HTML)

image

rvish/emoji

An Emoji encoder and decoder with browser for Laravel 5 (unified to HTML)

  • Friday, December 8, 2017
  • by rvish
  • Repository
  • 1 Watchers
  • 2 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Latest Version on Packagist Software License Build Status, (*1)

A simple PHP library for handling Emoji

An emoji encoder/parser for Laravel 5. This will encode and decode html to unified and vice versa. In order to handle emojies in database where you care about light weight things, performance and don't want to use blob data type., (*2)

Installation

PHP 5.5+, (*3)

To get the latest version of rvish Emoji, simply require the project using Composer:, (*4)

$ composer require rvish/emoji

Instead, you may of course manually update your require block and run composer update if you so choose:, (*5)

{
    "require": {
        "rvish/emoji": "*"
    }
}

Once rvish Emoji is installed, you need to register the service provider. Open up config/app.php and
1. add the Rvish\Emoji\EmojiServiceProvider::class to the providers
2. add the 'Emoji' => Rvish\Emoji\Facades\Emoji::class to the aliases.
, (*6)

Usage

For encoding to Bytes (UTF-8), (*7)

Emoji::encode("Test1 Test2 💡 Test3"); // encoding to Bytes (UTF-8)

For decoding to Native, (*8)

Emoji::decode("Test1 Test2 \xf0\x9f\x92\xa1 Test3"); // decoding to Native

Contributing

We welcome contributions! If you would like to hack on Emoji, please follow these steps:, (*9)

  1. Fork this repository
  2. Make your changes
  3. Install the requirements
  4. Submit a pull request after running make check (ensure it does not error!)

Please give us adequate time to review your submission. Thanks!, (*10)

License

Rvish Emoji is licensed under The MIT License (MIT)., (*11)

The Versions

08/12 2017

dev-master

9999999-dev

An Emoji encoder and decoder with browser for Laravel 5 (unified to HTML)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ravi Sharma

parser html browser encoder emoji unified eecode rvish

08/12 2017

1.2

1.2.0.0

An Emoji encoder and decoder with browser for Laravel 5 (unified to HTML)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ravi Sharma

parser html browser encoder emoji unified eecode rvish

11/08 2017

1.1.0

1.1.0.0

An Emoji encoder and decoder with browser for Laravel 5 (unified to HTML)

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ravi Sharma

parser html browser encoder emoji unified eecode rvish

20/07 2017

v1.0

1.0.0.0

An Emoji encoder and decoder with browser for Laravel 5 (unified to HTML)

  Sources   Download

MIT

The Requires

 

by Ravi Sharma

parser html browser encoder emoji unified eecode rvish