title: Can't install extension through composer
body: <p>If I try to install a new extension, from PHPStorm or command line, I get this error:</p>
  
  <p>NOTE: I disabled the xdebug extension on my php but the warning is still showing app.</p>
  
  <blockquote>
    <p>C:\wamp\bin\php\php5.5.12\php.exe
    C:\wamp\www\calificaciones\composer.phar require
    2amigos/yii2-date-picker-widget:1.0.5 -n --no-progress You are running
    composer with xdebug enabled. This has a major impact on runtime
    performance. See <a href="https://getcomposer.org/xdebug" rel="nofollow">https://getcomposer.org/xdebug</a> The
    "fxp/composer-asset-plugin" plugin requires composer-plugin-api 1.0.0,
    this <em>WILL</em> break in the future and it should be fixed ASAP (require
    ^1.0 for example).</p>
    
    <p>Fatal error: Call to undefined method
    Fxp\Composer\AssetPlugin\Package\Version\VersionParser::parseLinks()
    in
    C:\Users\David\AppData\Roaming\Composer\vendor\fxp\composer-asset-plugin\Repository\VcsPackageFilter.php
    on line 272</p>
    
    <p>Call Stack:
        0.0133     422128   1. {main}() C:\wamp\www\calificaciones\composer.phar:0
        0.0136     424928   2. require('phar://C:/wamp/www/calificaciones/composer.phar/bin/composer')
    C:\wamp\www\calificaciones\composer.phar:25
        0.1172    4937560   3. Composer\Console\Application->run() phar://C:/wamp/www/calificaciones/composer.phar/bin/composer:43
        0.1246    5384936   4. Symfony\Component\Console\Application->run()
    phar://C:/wamp/www/calificaciones/composer.phar/src/Composer/Console/Application.php:99
        0.1275    5544264   5. Composer\Console\Application->doRun() phar://C:/wamp/www/calificaciones/composer.phar/vendor/symfony/console/Application.php:123
        0.1341    5707456   6. Symfony\Component\Console\Application->doRun()
    phar://C:/wamp/www/calificaciones/composer.phar/src/Composer/Console/Application.php:166
        0.1347    5707904   7. Symfony\Component\Console\Application->doRunCommand()
    phar://C:/wamp/www/calificaciones/composer.phar/vendor/symfony/console/Application.php:192
        0.1348    5708432   8. Symfony\Component\Console\Command\Command->run()
    phar://C:/wamp/www/calificaciones/composer.phar/vendor/symfony/console/Application.php:844
        0.1386    5715824   9. Composer\Command\RequireCommand->execute() phar://C:/wamp/www/calificaciones/composer.phar/vendor/symfony/console/Command/Command.php:259
        0.1430    5800904  10. Composer\Command\BaseCommand->getComposer() phar://C:/wamp/www/calificaciones/composer.phar/src/Composer/Command/RequireCommand.php:97
        0.1431    5801144  11. Composer\Console\Application->getComposer() phar://C:/wamp/www/calificaciones/composer.phar/src/Composer/Command/BaseCommand.php:53
        0.1431    5801224  12. Composer\Factory::create() phar://C:/wamp/www/calificaciones/composer.phar/src/Composer/Console/Application.php:244
        0.1431    5802304  13. Composer\Factory->createComposer() phar://C:/wamp/www/calificaciones/composer.phar/src/Composer/Factory.php:532
        0.4445   10944592  14. Composer\Plugin\PluginManager->loadInstalledPlugins()
    phar://C:/wamp/www/calificaciones/composer.phar/src/Composer/Factory.php:354
        0.4919   11465248  15. Composer\Plugin\PluginManager->loadRepository()
    phar://C:/wamp/www/calificaciones/composer.phar/src/Composer/Plugin/PluginManager.php:79
        0.4920   11465248  16. Composer\Plugin\PluginManager->registerPackage()
    phar://C:/wamp/www/calificaciones/composer.phar/src/Composer/Plugin/PluginManager.php:240
        0.4981   11556808  17. Composer\Plugin\PluginManager->addPlugin() phar://C:/wamp/www/calificaciones/composer.phar/src/Composer/Plugin/PluginManager.php:188
        0.4982   11557160  18. Fxp\Composer\AssetPlugin\FxpAssetPlugin->activate()
    phar://C:/wamp/www/calificaciones/composer.phar/src/Composer/Plugin/PluginManager.php:215
        0.4996   11626888  19. Fxp\Composer\AssetPlugin\Repository\VcsPackageFilter->__construct()
    C:\Users\David\AppData\Roaming\Composer\vendor\fxp\composer-asset-plugin\FxpAssetPlugin.php:90
        0.5007   11636056  20. Fxp\Composer\AssetPlugin\Repository\VcsPackageFilter->initialize()
    C:\Users\David\AppData\Roaming\Composer\vendor\fxp\composer-asset-plugin\Repository\VcsPackageFilter.php:77
        0.5016   11659224  21. Fxp\Composer\AssetPlugin\Repository\VcsPackageFilter->initInstalledPackages()
    C:\Users\David\AppData\Roaming\Composer\vendor\fxp\composer-asset-plugin\Repository\VcsPackageFilter.php:259</p>
  </blockquote>
  
  <p>What is going wrong?</p>