{
	"name": "quest/cakephp-environment",
	"type": "cakephp-environment",
	"description": "Environments Plugin for CakePHP",
	"keywords": ["cakephp","utility","environments"],
	"homepage": "http://victorsanmartin.com",
	"license": "MIT",
	"authors": [
		{
			"name": "Victor San Martín",
			"homepage": "http://twitter.com/questchile"
		}
	],
	"support": {
		"issues": "https://github.com/quest/cakephp-environment/issues",
		"source": "https://github.com/quest/cakephp-environment"
	},
	"require": {
		"composer/installers": "*"
	}
}

{
	"name": "quest/cakephp-environment",
	"type": "cakephp-plugin",
	"description": "Environments Plugin for CakePHP",
	"keywords": ["cakephp","utility","environments"],
	"homepage": "http://victorsanmartin.com",
	"license": "MIT",
	"authors": [
		{
			"name": "Victor San Martín",
			"homepage": "http://twitter.com/questchile"
		}
	],
	"support": {
		"issues": "https://github.com/quest/cakephp-environment/issues",
		"source": "https://github.com/quest/cakephp-environment"
	},
	"require": {
		"composer/installers": "*"
	}
}

Change plugin type to cakephp-plugin
Change plugin type to cakephp-plugin

To be properly handled by composer installers.