this looks wrong to me. The dumped package.json should not define the dist type as ``file``, otherwise Composer will not extract the PEAR archive when installing the package. A PEAR archive is **not** a ``file`` type for the composer installer. It is an archive.