Giter Club home page Giter Club logo

dap_emot's Introduction

Dap_emot PHP Library Emoticons

capture-20161229-211321.png
Sebuah Library Php Untuk mengeluarkan sistem emoticon terdapat 25 emoticon, masih dalam tahap beta (uji coba) Terinspirasi dari Parsedown PHP,
Create By : Dion Arya Pamungkas
http://dionarya6661.github.io
@DionArya_P on twitter

Cara Memakai

Silahkan Letakan Dap_emot.php di folder yang dibutuhkan lalu :

$Dap_emot = new Dap_emot();
echo $Dap_emot->emot('Tulisan Terdapat Emoticons :D :( :)');
Ouput -> Tulisan Terdapat Emoticons ๐Ÿ˜ƒ ๐Ÿ˜Ÿ ๐Ÿ™‚

Menjadikan sebagai library Codeigneter

Dap_emot juga bisa dijadikan sebagai library framework php codeigneter
Caranya:

  • Pertama silahkan download terlebih dahulu dap_emot.php
  • Kedua taruh dalam folder application/library
  • Dan yang terakhir panggil library tersebut kedalam sebuah controller
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Welcome extends CI_Controller {

	public function __construct(){
		parent::__construct();
		$this->load->library('dap_emot');
	}

//Untuk Output
echo $this->dap_emot->emot('Tulisan Terdapat Emoticons :D :( :)');

//atau
$text     = 'Tulisan Terdapat Emoticons :D :( :)';
$textBaru = $this->dap_emot->emot($text);
echo $textBaru;
Ouput -> Tulisan Terdapat Emoticons ๐Ÿ˜ƒ ๐Ÿ˜Ÿ ๐Ÿ™‚

Kelebihan

  • Emoticon berbentuk gambar langsung tanpa tag html <img
  • Cepat
  • Mudah Digunakan
  • Bisa dikombinasikan langsung dengan Parsedown

Library Kode Emotikon Terdapat 25 Emoticons

Kode Nama Hasil
:) happy ๐Ÿ™‚
:( sad ๐Ÿ˜Ÿ
:P tongue ๐Ÿ˜›
:D grin ๐Ÿ˜ƒ
:O wink ๐Ÿ˜ฎ
;) kedip mata ๐Ÿ˜œ
B) glasses ๐Ÿ‘“
B| subglasses ๐Ÿ˜Ž
>:( grumpy ๐Ÿ˜ก
:/ unsure ๐Ÿ˜
:'( cry ๐Ÿ˜ข
#:) devil ๐Ÿ˜ˆ
O:) angel ๐Ÿ˜‡
:* kiss ๐Ÿ˜˜
<3 heart ๐Ÿ’“
^_^ kiki ๐Ÿ˜Š
-_- squint ๐Ÿ˜‘
o.O confused ๐Ÿ˜•
>:O upset ๐Ÿ˜ฃ
:v yimyam
:3 curly lips ๐Ÿ‘„
:|] robot ๐Ÿ‘พ
(y) like ๐Ÿ‘
:tai poop ๐Ÿ’ฉ
(;) dislike ๐Ÿ‘Ž

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.