Skip to content

Instantly share code, notes, and snippets.

@skwashd
Created November 13, 2015 23:15
Show Gist options
  • Save skwashd/548477958bcee6fbb70e to your computer and use it in GitHub Desktop.
Save skwashd/548477958bcee6fbb70e to your computer and use it in GitHub Desktop.
Example of composer-patches 2.x composer.json file
{
"require": {
"cweagans/composer-patches": "dev-master",
"drupal/drupal": "8.0.*@dev"
},
"config": {
"preferred-install": "source"
},
"repositories": [{
"type": "vcs",
"url": "https://github.com/skwashd/composer-patches.git"
}],
"extra": {
"patches": {
"drupal/drupal": [{
"url": "https://www.drupal.org/files/issues/add_a_startup-1543858-30.patch",
"description": "Add startup configuration for PHP server",
"sha1": "84c0caf6425a2fcfe048a83b33fc"
}]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment