how to build a physicWorld in the current version of cocos2dx

well, in the former versions, I can find a template of box2d project. However, in the version of 2.2 or 3.0, there is nothing I can follow.
And, I can find that the mechanism of using a physics engine seems to be changed. So, how am I supposed to build a new box2d-based project now.

Any advice would be appreciated.