Skip to content

Instantly share code, notes, and snippets.

@svandragt
Created September 11, 2024 14:58
Show Gist options
  • Save svandragt/b6ef494db57b624ab2ebec54d35e7c59 to your computer and use it in GitHub Desktop.
Save svandragt/b6ef494db57b624ab2ebec54d35e7c59 to your computer and use it in GitHub Desktop.
TextPattern composer setup
{
"name": "my/mysite",
"type": "project",
"authors": [
{
"name": "My Name",
"email": "my@email.com"
}
],
"require": {
"textpattern/textpattern": "dev-main",
"oomphinc/composer-installers-extender": "^2.0"
},
"repositories": {
"textpattern": {
"type": "vcs",
"url": "git@github.com:textpattern/textpattern.git"
}
},
"extra": {
"installer-types": ["project"],
"installer-paths": {
"site/": [
"textpattern/textpattern"
]
}
},
"config": {
"allow-plugins": {
"composer/installers": true,
"oomphinc/composer-installers-extender": true
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment