Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CakePHP Plugin install path #123

Closed
davidsteinsland opened this issue Jan 18, 2014 · 1 comment
Closed

CakePHP Plugin install path #123

davidsteinsland opened this issue Jan 18, 2014 · 1 comment

Comments

@davidsteinsland
Copy link

The install path of a CakePHP plugin is Plugin/$name, and this would be correct if the composer.json is located within the /app/ directory.

What if the composer.json is located one level up? The plugin will not be installed into app/Plugin/$name nor in plugins/$name.

Proposed fix:

  • Check the location of the composer.json and install in Plugin/$name or app/Plugin/$name accordingly

Since app can be named something else, it's probably easier to install the plugin inside the application-wide plugins/$name directory instead.

@shama
Copy link
Contributor

shama commented Jan 18, 2014

Please use the installer-paths extra for custom install paths: https://github.com/composer/installers#custom-install-paths Thanks!

@shama shama closed this as completed Jan 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants