add phar support