SethBling's Loot table randomizer.
Note: Seeds from the python version will not produce the same result in this version. Even though Python and PHP supposedly use the same randomization algorithm (Mersenne Twister), they produce different results. If someone has a solution for this, then please contact me on discord.
DISCLAIMER: I (Fasguy) am not affiliated with SethBling or Mojang in any way. I just ported this to PHP so you don't have to install python.