<?php
namespace AnduFratu\CakePhpConfigInstaller;

use Composer\Package\PackageInterface;
use Composer\Installer\LibraryInstaller;

class Installer extends LibraryInstaller {

    public function supports($packageType) {
        return 'cakephp-config' === $packageType;
    }

    public function getPackageBasePath(PackageInterface $package) {
        return 'Config';
    }

}

<?php
namespace AnduFratu\CakePhpConfigInstaller;

use Composer\Package\PackageInterface;
use Composer\Installer\LibraryInstaller;

class Installer extends LibraryInstaller {

    public function supports($packageType) {
        return 'cakephp-config' === $packageType;
    }

    public function getPackageBasePath(PackageInterface $package) {
        return 'Config';
    }

    public function getInstallPath(PackageInterface $package) {
        return 'Config';
    }

}

Fix the way the install path is returned
Fix the way the install path is returned
