Edit file File name : ZendInstaller.php Content :<?php namespace Composer\Installers; class ZendInstaller extends BaseInstaller { protected $locations = array( 'library' => 'library/{$name}/', 'extra' => 'extras/library/{$name}/', 'module' => 'module/{$name}/', ); } Save