Composer manager is obsolete and now we should not use it. 
The right way to work with composer for now is described [here][1] 


  [1]: https://www.drupal.org/docs/develop/using-composer