fralbo
fralbo

Reputation: 2664

Where DebugKit should be in 3.x?

I'm wondering where debugkit should be in 3.x because I wonder if it's location didn't change from beta version.

So I now have 3 locations:

App/plugins/DebugKit
App/vendor/cakephp/debug_kit
App/vendor/cakephp/plugins/DebugKit

Currently, it seems my install uses App/plugins/DebugKit but composer updates App/vendor/cakephp/debug_kit so I'm a bit lost

Upvotes: 0

Views: 158

Answers (1)

ndm
ndm

Reputation: 60463

The first path, ie the plugins folder, is the place where non-composer and first party plugins that are tied to your application may go.

The second path, ie the vendors folder, is for composer installable plugins.

The third path looks just wrong, not sure if this stems from a pre-stable release, but I'm pretty sure that this is not used anymore.

So, keep the second one, ditch the others, and you should be good. In case you have references to the old paths in your composer.json file, you should remove them and re-dump the autoloader

composer dump-autoload

See also

Upvotes: 1

Related Questions