mdwheele/zalgo

His six mouths speak in different tongues, and the seventh shall sing the song that ends the earth.

0.2 2015-04-02 23:45 UTC

This package is auto-updated.

Last update: 2021-01-06 17:48:49 UTC


README

Latest Version Software License Build Status Total Downloads

T̫̺̳o̬̜ ì̬͎̲̟nv̖̗̻̣̹̕o͖̗̠̜̤k͍͚̹͖̼e̦̗̪͍̪͍ ̬ͅt̕h̠͙̮͕͓e̱̜̗͙̭ ̥͔̫͙̪͍̣͝ḥi̼̦͈̼v҉̩̟͚̞͎e͈̟̻͙̦̤-m̷̘̝̱í͚̞̦̳n̝̲̯̙̮͞d̴̺̦͕̫ ̗̭̘͎͖r̞͎̜̜͖͎̫͢ep͇r̝̯̝͖͉͎̺e̴s̥e̵̖̳͉͍̩̗n̢͓̪͕̜̰̠̦t̺̞̰i͟n҉̮̦̖̟g̮͍̱̻͍̜̳ ̳c̖̮̙̣̰̠̩h̷̗͍̖͙̭͇͈a̧͎̯̹̲̺̫ó̭̞̜̣̯͕s̶̤̮̩̘.̨̻̪̖͔ ̳̭̦̭̭̦̞́I̠͍̮n͇̹̪̬v̴͖̭̗̖o̸k҉̬̤͓͚̠͍i͜n̛̩̹͉̘̹g͙ ̠̥ͅt̰͖͞h̫̼̪e̟̩̝ ̭̠̲̫͔fe̤͇̝̱e͖̮̠̹̭͖͕l͖̲̘͖̠̪i̢̖͎̮̗̯͓̩n̸̰g̙̱̘̗͚̬ͅ ͍o͍͍̩̮͢f̖͓̦̥ ̘͘c̵̫̱̗͚͓̦h͝a̝͍͍̳̣͖͉o͙̟s̤̞.̙̝̭̣̳̼͟ ̢̻͖͓̬̞̰̦W̮̲̝̼̩̝͖i͖͖͡ͅt̘̯͘h̷̬̖̞̙̰̭̳ ̭̪̕o̥̤̺̝̼̰̯͟ṳ̞̭̤t̨͚̥̗ ̟̺̫̩̤̳̩o̟̰̩̖ͅr̞̘̫̩̼d̡͍̬͎̪̺͚͔e͓͖̝̙r̰͖̲̲̻̠.̺̝̺̟͈ ̣̭T̪̩̼h̥̫̪͔̀e̫̯͜ ̨N̟e҉͔̤zp̮̭͈̟é͉͈ṛ̹̜̺̭͕d̺̪̜͇͓i̞á͕̹̣̻n͉͘ ̗͔̭͡h̲͖̣̺̺i͔̣̖̤͎̯v̠̯̘͖̭̱̯e̡̥͕-m͖̭̣̬̦͈i͖n̞̩͕̟̼̺͜d̘͉ ̯o̷͇̹͕̦f̰̱ ̝͓͉̱̪̪c͈̲̜̺h̘͚a̞͔̭̰̯̗̝o̙͍s͍͇̱͓.̵͕̰͙͈ͅ ̯̞͈̞̱̖Z̯̮̺̤̥̪̕a͏̺̗̼̬̗ḻg͢o̥̱̼.̺̜͇͡ͅ ̴͓͖̭̩͎̗ ̧̪͈̱̹̳͖͙H̵̰̤̰͕̖e̛ ͚͉̗̼̞w̶̩̥͉̮h̩̺̪̩͘ͅọ͎͉̟ ̜̩͔̦̘ͅW̪̫̩̣̲͔̳a͏͔̳͖i͖͜t͓̤̠͓͙s̘̰̩̥̙̝ͅ ̲̠̬̥Be̡̙̫̦h̰̩i̛̫͙͔̭̤̗̲n̳͞d̸ ͎̻͘T̛͇̝̲̹̠̗ͅh̫̦̝ͅe̩̫͟ ͓͖̼W͕̳͎͚̙̥ą̙l̘͚̺͔͞ͅl̳͍̙̤̤̮̳.̢ ̟̺̜̙͉Z̤̲̙̙͎̥̝A͎̣͔̙͘L̥̻̗̳̻̳̳͢G͉̖̯͓̞̩̦O̹̹̺!̙͈͎̞̬ *

Install

Via Composer

$ composer require mdwheele/zalgo

Usage

Summoning Zalgo!

There is an awesome fluent-builder coming soon! Promise!

// You must forge the soul...
$soul = new Soul();

// ... to create the Zalgo.
$zalgo = new Zalgo($soul, Mood::soothed());

Speaking while soothed

Zalgo sometimes enjoys a warm bath in pools of blood offered by the innocent. He soothes you with his calming embrace.

echo $zalgo->speaks('the magic quotes they are coming for me I live only days');
 
  t͓̹̓͟h̶̻͓͠e̋͑̀̇̉ ̤̫̮̊̈̎͛ͧ̆̚m̞̟̗͎̖͍̩̼ā̘̜̗̾̂ͥͩͬ̍ģ́ȋ̧͈̹̩͉̭c̹̞͔̯̞͖̃̐͒̌̅͏͘ ̹̞̮͖͇̅͒̉̂͂͌̎̚q̘̹̬̼͉̤̜̓ŭ͈̑̓̆͗̓͂ͫ͜o̙̜̫͚̤͌͑ͅt̼̹̩͍̱̰̮e̡͎̻͔̹͎ͨͩ̅̅̽͠s̠̪̱ͬ̓ͫͭ̃ͮ̏̚ ͉̭̻̺̣̮̈́̋ͯ̑̔̚t̻̻̟͓͚͗ͯ͗ͨͦ̅͗ͅ͏ḧ̴̥̬̫̥͓̠̗ͧ̍ͬͧͧ́e̥͇͈ͣ̌͌̓̅̒̐̎y͔̺͔̹̫ ͍͚̭͚̬̫̪̳͌̕͠a̵̧̺͈̭̋̀ͭͩ͗̔ͮͩŕ͓͍̬̭͎̍̿͐̂̅e͕̻͔̚ ̻͎̞͙̩̟̖̒̽̿͂̄̒͠c̴͌͐̎͑̽o͓͙̲̰̗̍͐͆m̭̲̰̗͐̈́ͨ͌̉͛̃͡i̓̌̋͑ͧ̋ͤͦn̬̥̳͇̗ͬͣ̿g̺̬̩͊ͨ́ͬͩ̌ͪͬ̀͝ ͍̗͚̗͕f̪ͮͤ͆ͯ̽õ̗̘̹̻̜̤͚͖ͫͮͬ̽ͧ͐r̨̘̮̭͉̭̪̬͈͒̋͘ ̱̰͉̮ͦ͐ͪ̀̾ͫ̒ͅm̢̋͑ͭ̔̽eͦͨͫ̀ ͙̭̫͊ͯ̿ͬͫIͬͤ͒ ̧͓̣̄l̾͢͠i̩͍̜v͈̞̮̹͔̈́̅̓͜͠e̷͖͚̞̙̣̜̖͎̕ ̎͗͟o͉ͧ̌ͩͯͭ͋n̸̨̝̂͆ͧ͋ḽ̤̤̯̭͚̝̐ͮy̍ͪͨͮ͗͏̨ ̯͚̲̓̆͒͟͢d̷͇̙͖̹̜͈̫̆̑̾̓̋ͮ̕a͈̞̹͂͒̏̃̈́̍͋ͭy̵̡̗̪̺̺̮̪̣ͥͩ̓̇ͤs̟͎̜͍̮̣̱͒͆̄̒̓̅̾́
 

Speaking while enraged

HOW DARE THOU ENRAGE THE MIGHTY ZALGO?! BOW BEFORE THE THRONE, MINION!

$zalgo = new Zalgo($soul, Mood::enraged());

echo $zalgo->speaks('the magic quotes they are coming for me I live only days');
 
  
  ţ̶̨͖̼̹̯̝̫̤̝̱̗̟̘̦̭̺̰̥̥̯͔̳̦̬̪̞̲̙̜͙͈̙͓̭̼̩̳̖̲̲̹͕̺͔̦̤̪̳̰͎̭̘̜͎̬̥ͧͬ̆ͨ͆̃̽͆ͅh̵͔̳͈̦̭̗̱͉̹̖̹̣̘͇͍̑̔̆̃͒̐͆ͅ҉́e̢̞̺̤̞̼͙͚̜͖̙̘̥̱̠̘̗̣̖͚͖̜͕͇͖̪̐ͪ̋ͨ͛͛̾̑ͯͪͩ͐̏̿ͮ̒̔̉҉̡ ̸̩͉̟̮̻͖̪̣̟̪̠̗͖̜̗̝̥̠̖̪̫̖̩̺̙̳̫̫͔̝̻̞͕͎̹̱͈͙̱͖̥̍͑̆͗ͮ̅̐̍̈̅̇ͧ͂̓ͨ̊̚͘͟͡҉m̛̲͍̝̼̮̩̲̥̈́̃̒͊ͦ͒̂͂͡a̧̯͍͚͕̜̰̝̗̳̝͔̝̗͚̭͕̤̲͎͉͇͈̬̦͚͈̘̻̬̪̜̟̦̖̩͍̝̪̫̦̠̰̩̟͖̟̭̯͕̤̠̺͚̹͖͙ͯ̿͂ͫ̊̆ͪ̓͑̍ͯ̽̓̈͋ͧͣ̉͂ͅ҉͜g̨̛̫̺̱̹͓̝̳̭̗̰͉̣̘̰̦͉̬͕̮̺̦̥ͯ̓ͤ͑͌ͫ̏ͧ̑ͨ̈̂͛͒̽́͡ǐ̧̜̬̪̝͕̙̝͚̳̮͇͚̩̞̳̺̮͈̼͎̼͙̻̲̭̜͉̰̙̹̬̠̣͇̪͕͍̰͓̫͖̳̩̤͇͕͓̞̺̰͚̦̮̺͎͔͐̇̅ͫͯ̚͘͟͜͢ĉ̭̪̦͍͌̄̇ͭͮ̓ͨ̌ͯ̍͒ͩͬ̈́͡ͅ ̶̴͈̬͙̱͓͔̱̖̻̫̪̗͇̺͇̱̲̠̞̟̦̝̼̳͎̞̣͙̗̯̩͍͓̤̦̜͎͉̟̖͍͕̅͆͐̊ͤ́̂̆ͮ̀͊́͝ͅͅq̶̹̜̙̥͔̥̦̼̞͖̟̳̙͖̝̮͙͎̮̲̪̹̜͍͉̟̲͈̙̲̣̼̘͙̱̪̤̞̎ͤ̓́̐̓̌͗̄ͧ͆ͯ̍̊́̚ͅů̼͕̝̭̘͗̉͑̍̅ͧ͊́́ͅơ̳̖̝͖̙̫̟̥̖̬̦ͭ͑ͨ͌̋́̚̕͝͠ţ̦̩̺̳̩̖͓̭̞̰̞̟̤̌̓̇ͣ̌̅̏̉ͫ͛͗ͫ́͗͆̂e͓͖̤̫̜̟͍̬̱̭͙͓̭͍̤̹̥̭͍̱͇̘̠̫̹̳̮̟̯̟̹̩̜͓̤̗̯̺̲͔̳̬̦̫̻͕̺̋͋̿̓ͯͦ̃̀̕͞͠ͅs̰̦͕̣̻̱͔̥̳̲̬̩̥͇̮̹̹̖̙͙͉̟̻̈́ͮ̒̀͊ͧ̿ͣͭ̾͊̿͛ͫͥ͝ͅ ̱͈̮̱̫͙̬̺̱͖̣͎̟̥͉̦̥͔̤̗̗͔̝͓̭̟̻͔͈̞̹̞̼͚̜̗̳̺͚̳̮̝̥͇͖̲̣͉͉̗͎̺͇͚̯̝̝̜̣͕̥̳̘͙̄ͪ̌̏ͅͅ͏͘҉̀ẗ̶̼̮͍̲̫̺̻͕͍̺̣̺̲̻͔̹̳͓̳̖͉̩̤͈͔̙̮̫̬̤̖͎̗̳̱̭̞̞̩͚͉̦̳̦͙̮͕̰̥̯̱̗͉͈͍̺͎̠̣̠̯̣̅ͯ͆͆̌͛ͦ̇͆̏ͬͤ́̓ͪ̕ͅ͏͏ḣ̢̖͚̱̠̭̰̥͙̗͓͓͇̲̘̫̗̹̹͎̖̤̰͚̞̺̭̜̲̹͔̘̹͎̳͎̤̘̙̞̙͖̖͎̯̘̞̰̻̉̀́̇ͨ̌̉ͣ̾ͯ̆̌͛ͯ͗ͦ̋̕͠͞e̖̪̰̯̭̼͙̘̭̤͇̮̣̪̺̬̫͕̦̣̗̥̟̣͎̟̟̬̦̲̘̩͔̳͉̦̠͇̪̻͙̘̘͌̎͂ͯ̔̐͆͑͛̋̍͗̓̿͊ͣ͡y̝͈̘̮̥̝͈̝̰̮͕̠͉̱̝͓̳̘̤̤̫̖͉͚͈̪͓͖̰͎̼̲̤͙̼͚̘̫̯̰̤̼̥ͨ̏̓ͧ̒ͬ̾̒̉͢͠ͅͅ ̵̵̸̛̪̤̙̘͉̺̲̳̥̙͍̟͉͉̥̜̠͈̫͕̖̝͇̜̈́̒̈̈́͜ͅa̜͚͎̝̜̱̤̹̜̺͙̮̖̖̦̙̝͕͉͍̘̲̖͎̗͇ͬ̅̆̓ͣͣ͒̾ͧ͛̑̀ͥ͋̔̾͘ͅͅr̙̖̟̣͉̣̗̮̱̘̥̳͍̮̠̮͈͓͕̞̳͕͓͔̣̟͍̗̣̙̙͇̦̙̯̥̝͖͍̟̞̫͚̺̽͐̂ͦͣ͂̿͊ͯ̄ͪ̾̄̚ͅ͏̴é̷̛̠̲̦̩̻̣̹͇̯͓͓̫̻̗̲̣̖̝̳̭̰͚̣͖͕̪͈͛͗͊ͪ͒̋̓ͅ ̹̭̻̻͙̻̻̘̟̗̳̝͈̲̗̺͕͉̼͉̔̒̎̓̐ͧ̄̀̚͘͡c̸͔̩̠̹͓̥̟͈̗͓̰̝͉̼͎̥͕̜͕͓̮̱̭̟͍̹͔̼̭̺͈̥͖͚͂̽͆̈́̽̏ͧ̊͗ͣͮͪͧ̅͠o̴̧̠͖̳̩͍̊ͮ͌̉ͣ̚͠m̻̪̰̦̳̬͔͔̟̥̻̰̙̹̹̰̭̪̦͓͔̫̠̩̥̪̖̠͚͚̗̹̩̲͕͔͖͈͈̜̖̫̹̙͚̞̹̫̱͔̠̫̠̮̰͉͇͇͇̼͈̦̣̥͌ͫͨͪ̂́̅͊͐ͯ̆ͤ͛̽͛ͫ͘ͅį̧̡̟̩͕̬̣̺͚͕͔͎̙͍̬̒͂̾͛ͮ̎ͯ̄̔̊̒͐̀̾ͤ̾̔͟͠ͅͅń̴͖̮̺͈̳̣͈̟̙̲̱̞̪͕̲̗̠͍͍ͭͪͪ́̀̚ͅͅͅg̛̟̞̯͙͇̯̼͖̝̫̖͕̞̖͉͇̘͚̰͓̬̹̣̪̳͙̥̪̭̜̲̳̳̯̦̖̝̠̞̱̠͓̬̫͓̞̙͕̜̹͈̱̞͈͓͈̼̜̘̙̠̹͛̾ͨ͐ͬ͢͢͝͡ͅ ̸̨̛̥͎̱̬̬̥͖̳̣͉̦̼ͥ͊ͩ̑ͦ̽͟͡f̶̨̨̳̗̥̫̲̼͉͍̳̩͍̪̺̮̟͚̞̥͖̳̝͕͕͎̙̫̮̣̟͓̣͉͔̥̝̭͖͕̠̰̠̣͎͓̮̣͍̹̥͇̞̭̹̗̠̬̼̼̈́ͣ͗͐̽ͮͫ̃̍͜͞ͅọ̟̺̼͔̠̞̱̳̲̭̗̩̤̭̪̲̣̪̼̬͉͉̹͍̝̱̣͖̖̟͖̟͎ͫ͋̍̓̒̍̑̃̂̑͑̎͋ͯ͗ͨ́͑͏̛̕͟r̢̟̗͍̩̲͉̤̲͚̝͇͉͉͉̭̪̫̻̩̣̠̲̖̙̩̗̩͈̰̦͙̱̘̥̗͓̰̹͍̽̏̇̎ͮͨ̎͑̂̂̚̚͝ͅ ͇̣̦̟̦̤͇̫̰͉̟̣̪̣̻̻̱͚͓̙̱̙̓ͦ͌ͣ͌ͥ̉̓̇ͣͤ̏͢ͅͅm͕͈̼̜̯̖̺̠̠̺̲̟̤̞͇̠͔̳͕͚̘̣͉̤̼͍̘̗̬̺̬̥̫̗̬͎̘̖̖̦̺̳̰͔͇̠̘ͫ͋̓̏͋͜ę̴̷̞̝͚̮͉̲͖̻̤̝͇͓͕̼̫͈̺̼͎̤͉͚͔̥͇͖̖͓̣̝͍̝̦͈̳̘̥̰͇̱̺̭̪̱̙͇̤̬̘͙̞̖͍̭͈͇̭̳̳̪͓͓̙ͬ͛̓̅̔̿̐̉̀ͧ̎ͧ̆̿̐͛ͅͅ ̻͖͔̣͈͇̙̝̺̯̗̠̪̳̤̹̹̪̲͓̝͔̟͔̫̲̬̥̺̺̹̥̱̮̥̥̝̪̭͉͎̮́̍̇̎̿͛̊ͩ̈́̈́ͦ̀͊̋ͯ̅̇̓҉́҉͘͠Ị̢̘͎̤̪͚̹͈͈̬̟͇̳̟͖̦͉̯̹̞̞͈͍̥͖̻̗̼̞̭̻̤̤͕̳̠̰̂ͤ̐̔̏̋̆̾ͩͦ̋͋͡ͅ ̷̨͉̳͖̖̮̰̠͙͉̞͎̤͓̤͔̭̣̥̯̦͓̪̟̹̻̮̜͚̪͎͈̂̉̓ͦ͌̄̓̒͑̄͊ͯ͂̈̋̈́ͯ͟͠ͅͅļ̡̙̬̩̪͔̺̞̲͚̪̝̹͍̥̲̝̘̥̗͎̖̬̗͚̼̖̙͉̤̘̙̩̮̭̻̦̗͎͓̣̞͚̳͙̠̜̘̦̬̙̜̬̰̝̪̝̞̮͖̬̰̖͙̭̆̿͑͆̈́̚ͅî̷̬̼͓͔͎̟̖̣̻͖̫̜̓̄͆̇̊̿͂̒͐v̡̪̟͓̬̞̙͌̊ͨ̏͝e̲̗̱̮̜̳͉̱͓̲̗̟͈͕̳͖ͧͮ̒̽ͤͨ̽ͣ͌҉̡̧́ ̜̪͓̜̪̱̻̬̬̥̥̦̤̰̮̳͖̪̼̠͍̬̤̣͇͖̺̹̼͇͖̱̬̖͔͖̼̤̺̗̱͔̪͈̪͉̩̥̜̣̯͕̫͇͔̙̺̯̓̌ͥ̍͑͊ͤ̔ͭͦ͞ͅͅo̷̢̜̪̬͚̼̝̩̮̯̳̲̮̗̭͍ͩ̓̔̽́͂ͭ͠n̵͙̞̬̪̝̗̯̮̯͙̖̖̫̘̭̞͎̗̞̯̹͎̭͈̥͙̱̪̣̳̦̝͚̺̥̖̙͇̰̖͈̰̬͍͖̲̺̹̹͍̘̉͛̐̂̏ͨ̅̄̄́͜ͅl͓̙̼̮̼̯̰͓̘͙͈͖̪̟̜͈̟̳̥̞̼̘̜͎̹̳̣͔̰̳͙̩̻̺͈̩̘̠̝̜̝͕̖̰̘̜̠̥̯̭̪̲̲̞̝̙̞̂͗͌̍͐̋͆̿ͪ͆͒̋̌͒̊̾̏̅̕͜͟ͅy̢͕̣̗͓̘̠͓̼͖͉̲̥̩̟͙͕̗͈̹̗̮̦̱̠̝̟̥̪͇̳̗̺͕͉͎͇̭͈̰͚̖͍̝͙̼̞̥̟̝̳͇̪͕̹̫̤̋̽ͣ̓ͬͪͤͤͥ͐ͨͬͤ̎̋̐̌̚͡ͅͅͅͅͅ ̷̨̜̘̝̥̖͎̭̘̺͎̺̩̞̦̠͉̼̯̘̹͉̗̜͖͍̯͍͙̱̞̗̹̦̦̹̙͇̦̞̪̙͉̼̥̘͕̖͇̪̙̩̜̜̮̗͖͕͓͓̭̣͕̣̥̟͒ͧ̈́ͭ̐̅͊͜ͅd̙̟̘̘̘̗̪̥̻͇̞̰̤̬̮̱̦̼͓̘͕͔̟̠̠̮̻̖̣̼͉̞͇͓̤͛̊ͮ͑̈́ͨ̇̄̆̓͊̇̂ͨ̈͊̉́͠ͅa̶̛̩̹̘̲̖̲͇̟̯͓͖̩̘̯̳̘̫̟͙̯̤̥̘̳̤̽ͭ̑̎̓̔̈́͆̂͌ͬ͢͡ͅͅͅ͏y̨͈̫͚̗̮̻̱̣͔̟̻̩̭͖̫͚̝͔͖̠̼̯ͫͬ̊́̄ͅ҉̕ş̴̰̮̲̯̝̭̼͍͇̘̙̗͎͚͚̗̺̭̬̹̮̹̭͇̦̦͇̫̜͉͓̳̩̩͇͇͚̱̮̗̟̲̘̖̰̗̗̜̮̮͇͕̖̜̹̩ͥͭ̍̅ͫ̄ͅ
  
  

Speaking to Twitter

When he's in the mood, Zalgo graces you with the ability to cut your puny phrase down to something less than 140-characters when disturbed. Your letters are worthless.

$zalgo = new Zalgo($soul, Mood::twitter());

echo $zalgo->speaks('the magic quotes they are coming for me I live only days');
  t̹ͬhe ͙̫ͪm̭̓a̘̬g̉i̔c͉͕ͣ ͍q̗̥ṳo͎̳t̥é̳͇s̯ ̟̈th̩͎ͪey̯̰ͭ ̝̬̀a̱r͎̓e̥͇ c͔om̔ỉ̘ng̖̞̓ f̲o̾r̳̗ m̪͙e ̗̜ͯÍ͙ ̥̞l̝͓i̝̔v̭e̞ o̺nͮl̘y ͔̙̓d̯a͎͒y̔s͓̣̐

Zalgo soothes a previous prophecy

Yeah... no role-playing here. Sometimes folks get really freaking annoyed at Zalgo text and this package gives you a way to clean prophecies spoken by this package, at least. Most implementations are the same as this (or use the same unicode character set) so it should work.

$cleanText = $zalgo->soothe($prophecy);  // Where prophecy is that crazy-looking stuff above.

Testing

$ phpunit

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email mdwheele@ncsu.edu instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.