Add some features

Travis will fail to build with PHP 5.2, since composer isn't available.
Please remove this line.

ps.
we have internal Jenkins environment for PHP 5.2.