Simple answer: You can't Complicated answer: You need to recursively clone the PocketMine-MP master branch and install the bleeding-edge php builds from azure or appveyor . Typically if you don't know how to do this, then you have no business using API 4