Download the PHP package shimabox/pemojine without Composer
On this page you can find all versions of the php package shimabox/pemojine. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download shimabox/pemojine
More information about shimabox/pemojine
Files in shimabox/pemojine
Download shimabox/pemojine
More information about shimabox/pemojine
Files in shimabox/pemojine
Vendor shimabox
Package pemojine
Short Description Pemojine is a library for handling Emoji in PHP.
License MIT
Homepage https://github.com/shimabox/pemojine
Package pemojine
Short Description Pemojine is a library for handling Emoji in PHP.
License MIT
Homepage https://github.com/shimabox/pemojine
Please rate this library. Is it a good library?
Informations about the package pemojine
Pemojine
Pemojine is a library for handling Emoji in PHP.
This library is getting data from here.
- Full Emoji List, v13.1
- Full Emoji Modifier Sequences, v13.1
- emoji-toolkit/emoji.json at master · joypixels/emoji-toolkit
Attention
- Support for php5.5-7.3
Architecture
- Treat one Emoji as a group.
- MediumGroup bundle Groups.
- BigGroup bundle MediumGroups.
- Vendor bundle BigGroups.
- @see Full Emoji List, v13.1
Features
- You can output it for each vendor (Apple, Google, etc...).
- Outputable for each group.
- BigGroups, MediumGroups, Groups.
- Randomly output Emoji.
- Create sentences containing Emoji.
- The group structure can be easily customized.
Demo
- Todo
Installation
Via Composer
Develop
Usage
Customize
How to add a new Emoji group
Create three files below.
- Files that implements
SMB\Pemojine\Structure\Interfaces\Configurable
. - Files that implements
SMB\Pemojine\Structure\Interfaces\Gettable
. - Files that implements
SMB\Pemojine\Structure\Interfaces\EmojiTable\Gettable
.
@see example/Custom
Examples (dev only)
Basic
- example/getAll.php
$ php example/getAll.php
- example/selectAtRandom.php
$ php example/selectAtRandom.php
- example/selectGroup.php
$ php example/selectGroup.php
- example/outputter.php
$ php example/outputter.php
Helper
- example/helper_converter.php
$ php example/helper_converter.php
- example/helper_emoji.php
$ php example/helper_emoji.php
- example/helper_emojiCounter.php
$ php example/helper_emojiCounter.php
- example/helper_sentence.php
$ php example/helper_sentence.php
Custom
- example/Custom/example.php
$ php example/Custom/example.php
Regenerate data (dev only)
Scrape the data here.
(The result is cached for 1 hour in scraping/cache/full-emoji-list
, scraping/cache/full-emoji-modifiers
)
- Full Emoji List, v13.1
- Full Emoji Modifier Sequences, v13.1
- emoji-toolkit/emoji.json at master · joypixels/emoji-toolkit
scraping/output/Config
, scraping/output/Structure
Since files are output below, please place them under src/Config
, src/Structure
respectively.
Shell for sync.
-
For Mac(Linux).
- For Windows.
Test
- Coverage
TODO
- Make a demo site.
- Regular expressions that make up sentences with Emoji are rough.
- pemojine/Sentence.php at master · shimabox/pemojine.
- I tried to cope with nesting.
- But it does not correspond to complex nesting.
- Emoji mapping(array) is too rich, so I need to think about this.
- For
Vendor\JoyPixels
I feel correct to combine with emoji-toolkit/lib/php at master · joypixels/emoji-toolkit. - Confirmation on actual machine.
License
The MIT License (MIT). Please see License File for more information.
All versions of pemojine with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5
The package shimabox/pemojine contains the following files
Loading the files please wait ....