View file File name : MODULEWorkInstaller.php Content :<?php namespace Composer\Installers; class MODULEWorkInstaller extends BaseInstaller { protected $locations = array( 'module' => 'modules/{$name}/', ); }