Change the default plugin location when cakephp >= 3.0
Overrides BaseInstaller::getLocations
public function getLocations(string $frameworkType) : array { if ($this->matchesCakeVersion('>=', '3.0.0')) { $this->locations['plugin'] = $this->composer ->getConfig() ->get('vendor-dir') . '/{$vendor}/{$name}/'; } return $this->locations; }