PHP Extension Builder (PEB) is a handy helper for the PHP-CPP project (php-cpp.com).