/ColorizePHPParser

Minecraft color parser for PHP

Primary LanguagePHPMIT LicenseMIT

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