PHP Classes

PHP Emoji Convert: Replace emoji symbols by the respective images

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 179 All time: 8,697 This week: 129Up
Version License PHP version Categories
emoji 2.0GNU General Publi...5.4HTML, PHP 5, Graphics, Text processing
Description 

Author

This class can replace emoji symbols by the respective images.

It can add one or more mappings between emoji symbols to the path of images that represent them graphically.

The class can take a given text and replace the specified emoji symbols by HTML image tags with the corresponding images.

Recommendations

Convert Emoji Charaters
I want to replace Emoji Characters

Picture of Daniel Alan Guerrero Matamoros
  Performance   Level  
Name: Daniel Alan Guerrero ... is available for providing paid consulting. Contact Daniel Alan Guerrero ... .
Classes: 7 packages by
Country: Mexico Mexico
Age: 28
All time rank: 197521 in Mexico Mexico
Week rank: 188 Up3 in Mexico Mexico Up
Innovation award
Innovation award
Nominee: 1x

Example

<?php

#create the emoji Object
$emojiObject = new emoji([bool $multi_emoji = false [, int $limit = 12 [, bool $css = false [, bool $classes = ""]]]]);
#$multi_emoji specifies that the object will load multiple objects
#$css specifies if that objects will contain a css class, this and $multi_emoji is set false to default
#$classes specifies the class of the object, this is empty by default
#$limit specifies the limit of files to charge, by default is 15

$emojiObject->add_emoji(string $emoji_f = "", string $emoji_text = "");
#$emoji_f set the path of the image file, this is inherit to the html page
#$emoji_text set the text to be replaced
#both are empty by default

$emojiObject->print_emoji(string $text_s);
#$text_s specifies the text that will be changed

?>






  Files folder image Files  
File Role Description
Plain text file Emoji.php Class Emoji class to replace texts with IMG html objects
Accessible without login Plain text file Emoji_syntax.php Example Syntax of the Emoji class

 Version Control Reuses Unique User Downloads Download Rankings  
 0%1
Total:179
This week:0
All time:8,697
This week:129Up