https://github.com/humanmade/Custom-Meta-Boxes/blob/master/class.cmb-meta-box.php