-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Installation via Composer #27
Comments
@sidneywidmer Yeah, I did realise that just after I did it, which kind of makes the whole thing a bit useless. Unfortunately, I prefer to keep the keep the plugin outside of the root, and have the plugin as a folder named correctly so its ready to go. This is just to save confusion for users in naming the plugin folder (I know its pretty simple - but still), but also to allow for things like the Readme, screenshots, and any additional files to be separate. I'm not a big user of Composer, so not sure if there is indeed a better way to target a repo subdirectory. From my research, it looks like this isn't possible. With an upcoming (next year) Craft Plugin store, this will solve this. So yeah, I'm a little torn at what the best situation for everyone is - people using Composed, and people just installing the plugin copy/paste style. |
seems like the only way to achieve this is to add the following snippet to the main composer file (the one which requires supertable). I know it's not really nice but at least it's a working solution if someone else needs something like this (only tested on osx, but this should be easy to adapt on windows/linux)
Thanks for your quick response! |
+1 for this.. Composer allows us to easily update the plugin with a single console command. More and more plugins are using it, so please reconsider @engram-design ;) |
I have another suggestion to match @sidneywidmer contribution:
When |
Closing for now - this won't be implemented. Lets wait until the Plugin store, which will make all this meaningless (and likely work with Composer!) |
unfortunately the installation via composer doesn't work out of the box. You would have to put the contents of the folder supertable directly in the root. Or is there another way?
The text was updated successfully, but these errors were encountered: