-
-
Notifications
You must be signed in to change notification settings - Fork 414
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
Add WordPress dropin support #265
Conversation
👍 would love to see this. It might also make sense to look for these files in the package (maybe with a composer.json |
I'm not sure it's feasible to add drop-in support to this project. Drop-ins are single files, and composer installs a directory of files and dependencies. |
Same idea, new pull request, but redundant - #288 |
@slbmeh This should work. Composer have the feature, but is not documented. |
Add hint about dropin possibility to the readme, addon to #265
@bueltge i'm not sure I got you right. Where exactly |
This type is for the dist parameter. "dist": {
"type": "file",
"url": "path/to/file"
}, like this context "repositories": [
{
"type": "package",
"package": {
"name": "user/repo-dropin",
"type": "wordpress-dropin",
"version": "1.5",
"dist": {
"type": "file",
"url": ""
},
"require": {
"composer/installers": "v1.0.7"
}
}
} Sorry, I haven't currently a project or access to a topic. Also I haven't currently possibilities to work with composer, a client behind a proxy. |
WordPress alows to replace some functions with Dropins.
This small change in the commit allow to add via composer the dropin.
Below is a table with all Dropins I know or I have found. The possible Dropins are echoing via the function
_get_dropins()
.