Skip to content

Instantly share code, notes, and snippets.

@tmf
Last active December 28, 2015 06:59
Show Gist options
  • Save tmf/7461046 to your computer and use it in GitHub Desktop.
Save tmf/7461046 to your computer and use it in GitHub Desktop.
Create wordpress site with composer and a object-oriented written wordpress theme with twig as templating language
{
"name": "tmf/wordpress-site",
"description": "a wordpress site installed with composer and wpackagist",
"authors": [
{
"name": "tmf",
"email": "[email protected]"
}
],
"license": "MIT",
"type": "project",
"repositories": [
{
"type": "composer",
"url": "http://wpackagist.org"
},
{
"type": "package",
"package": {
"name": "tmf/wordpress",
"type": "wordpress-core",
"version": "3.7.1",
"dist": {
"url": "http://wordpress.org/wordpress-3.7.1.zip",
"type": "zip"
},
"source": {
"url": "https://github.com/WordPress/WordPress",
"type": "git",
"reference": "3.7.1"
},
"require": {
"johnpbloch/wordpress-core-installer": "~0.1"
}
}
},
{
"type": "vcs",
"url": "http://github.com/tmf/wordpress-twig-theme"
}
],
"extra": {
"wordpress-install-dir": "."
},
"require": {
"wpackagist/mp6" : "dev-master",
"tmf/wordpress-twig-theme": "dev-master"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment