Hi! How I can compile it https://github.com/PocketMine/PocketMine-MP to .phar? Please write step by step, thanks.
No this won't. That zip doesn't contain the submodules. You must git clone recursively. Reference: https://GitHub.com/PEMapModder/pmwatch