How do I make a pocketmine phar from source code? I put the src folder in my server's directory and I deleted the old phar and I have the bin folder but it says Pocketmine-mp.phar not found
Explain why you need to do that. If you are doing things correctly, you don't need to convert at all.
I would still personally recommend to use DevTools like @b3st_Thunder78 suggested since it was actually made specifically for PocketMine. However, like @SOFe said you really shouldn't need to, as compiled phar files are already provided for you to use. The only reason I can think of for you to need to compile it yourself is if you modified the source code in the src folder, which is also not recommended.