LuckyBox is a library for PHP to pick up the one with a specified probability from some items.