To obtain the source code, use
Git
to clone from the official repository
github.com/ariya/phantomjs
.