Today I installed PHPUnit Skeleton Generator like this:
$ vim ~/.composer/composer.json Added: "minimum-stability": "dev" $ composer global require 'phpunit/phpunit-skeleton-generator=*'
But… then it turned out that the interface was broken when invoking from NetBeans, so over here:
$ pear channel-discover components.ez.no $ pear install phpunit/PHPUnit_SkeletonGenerator
Then I created a phpunit-skelgen.php file in my project and added:
#!/usr/bin/php <?php require_once '/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator/autoload.php'; require_once '/usr/share/php/SebastianBergmann/PHPUnit/SkeletonGenerator/Command.php'; SebastianBergmann\PHPUnit\SkeletonGenerator\Command::main();
Simple! :)