tar unpacker uses phar extension

Fatal error: Class 'PharData' not found in /usr/share/composer/src/Composer/Downloader/TarDownloader.php on line 28