Installed PHP Unit and Selenium extension via pear Then I went on to run phing in yii/build dir with commands
cd yiidir/build
phing doc
check API sub directory and it have all necessary files to make CHM. Since I needed uncompiled files then I just ended here but you can go ahead and compile to CHM