febryars33 / ColorizePHPParser

Minecraft color parser for PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ColorizePHPParser

Minecraft color parser for PHP

alt text

  • Support (&) and (§)
  • Support Unicode Characters
  • Support Mix & / § on string function

How to use

HTML Section

First add the css file

<link rel="stylesheet" type="text/css" href="MinecraftColors.min.css">

Second add a javascript file Here's some code for the obfuscated text (§k):

<script src="MinecraftObfuscated.min.js"></script>

PHP Section

Using § / &

<?php
  echo mccolors('§6Hello World');
?>

Or you can mix it with & or §

<?php
  echo mccolors('§6Hello &8World');
?>

Copyright Author

About

Minecraft color parser for PHP

License:MIT License


Languages

Language:PHP 74.4%Language:CSS 17.3%Language:JavaScript 8.3%