milesj / uploader

[Deprecated] A CakePHP plugin for file uploading and validating.
MIT License
193 stars 73 forks source link

Can I change a composer setting for the plugin directory? #141

Closed robksawyer closed 11 years ago

robksawyer commented 11 years ago

I currently have my composer.json file outside of the app directory and so every time I update, I get a Plugin/Uploader folder. Is there anyway to set the path so that it goes to app/Plugin/Uploader?

Note: I'm currently using the following setting in order to change the Vendor directory.

"config": {
    "vendor-dir": "app/Vendor"
},
milesj commented 11 years ago

Don't really know. Would suggest checking on composer configurations.

milesj commented 11 years ago

You can try this: http://getcomposer.org/doc/articles/custom-installers.md

If not, would have to move the composer.json file, or use submodules, or something.