Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save CrazyBoy49z/b541faf81b8fbde13cacc6df6be784e6 to your computer and use it in GitHub Desktop.
Save CrazyBoy49z/b541faf81b8fbde13cacc6df6be784e6 to your computer and use it in GitHub Desktop.
Composer files
// composer.json
{
"name": "roots/bedrock",
"type": "project",
"license": "MIT",
"description": "A modern WordPress stack",
"homepage": "http://roots.io/wordpress-stack/",
"authors": [
{
"name": "Scott Walkinshaw",
"email": "[email protected]",
"homepage": "https://github.com/swalkinshaw"
},
{
"name": "Ben Word",
"email": "[email protected]",
"homepage": "https://github.com/retlehs"
}
],
"keywords": [
"wordpress", "stack", "capistrano", "composer", "vagrant", "wp"
],
"support": {
"issues": "https://github.com/roots/bedrock/issues",
"forum": "http://discourse.roots.io/category/bedrock"
},
"config": {
"preferred-install": "dist",
"generate-salts": true
},
"autoload": {
"psr-0": {"Bedrock\\Installer": "scripts"},
"psr-4": {"Vuokrata\\": "web/app/themes/vuokrata/lib/Vuokrata"}
},
"scripts": {
"post-root-package-install": ["Bedrock\\Installer::addSalts"]
},
"repositories": [
{
"type": "composer",
"url": "http://wpackagist.org"
},
{
"type": "package",
"package": {
"name": "wordpress/wordpress",
"version": "4.0",
"type": "webroot",
"dist": {
"type": "zip",
"url": "https://wordpress.org/wordpress-4.0.zip"
},
"require" : {
"fancyguy/webroot-installer": "1.1.0"
}
}
}
],
"require": {
"php": ">=5.3.2",
"wordpress/wordpress": "4.0",
"fancyguy/webroot-installer": "1.1.0",
"composer/installers": "v1.0.12",
"vlucas/phpdotenv": "~1.0.6",
"twig/twig": "1.*"
},
"extra": {
"installer-paths": {
"web/app/plugins/{$name}/": ["type:wordpress-plugin"],
"web/app/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
"web/app/themes/{$name}/": ["type:wordpress-theme"]
},
"webroot-dir": "web/wp",
"webroot-package": "wordpress/wordpress"
}
}
// composer.lock
{
"_readme": [
"This file locks the dependencies of your project to a known state",
"Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"hash": "96c4d1481f7882b48cd24a0a34b5c329",
"packages": [
{
"name": "composer/installers",
"version": "v1.0.12",
"source": {
"type": "git",
"url": "https://github.com/composer/installers.git",
"reference": "4127333b03e8b4c08d081958548aae5419d1a2fa"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/composer/installers/zipball/4127333b03e8b4c08d081958548aae5419d1a2fa",
"reference": "4127333b03e8b4c08d081958548aae5419d1a2fa",
"shasum": ""
},
"replace": {
"shama/baton": "*"
},
"require-dev": {
"composer/composer": "1.0.*@dev",
"phpunit/phpunit": "3.7.*"
},
"type": "composer-installer",
"extra": {
"class": "Composer\\Installers\\Installer",
"branch-alias": {
"dev-master": "1.0-dev"
}
},
"autoload": {
"psr-0": {
"Composer\\Installers\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Kyle Robinson Young",
"email": "[email protected]",
"homepage": "https://github.com/shama",
"role": "Developer"
}
],
"description": "A multi-framework Composer library installer",
"homepage": "http://composer.github.com/installers/",
"keywords": [
"Craft",
"Hurad",
"MODX Evo",
"OXID",
"WolfCMS",
"agl",
"annotatecms",
"cakephp",
"codeigniter",
"concrete5",
"croogo",
"drupal",
"elgg",
"fuelphp",
"installer",
"joomla",
"kohana",
"laravel",
"lithium",
"magento",
"mako",
"mediawiki",
"modulework",
"phpbb",
"piwik",
"ppi",
"shopware",
"silverstripe",
"symfony",
"typo3",
"wordpress",
"zend",
"zikula"
],
"time": "2014-02-24 04:21:34"
},
{
"name": "fancyguy/webroot-installer",
"version": "1.1.0",
"source": {
"type": "git",
"url": "https://github.com/fancyguy/webroot-installer.git",
"reference": "a2d5c2e149d837e5580a62a91d3c91577aa30d28"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/fancyguy/webroot-installer/zipball/a2d5c2e149d837e5580a62a91d3c91577aa30d28",
"reference": "a2d5c2e149d837e5580a62a91d3c91577aa30d28",
"shasum": ""
},
"require-dev": {
"composer/composer": "1.0.*@dev",
"phpunit/phpunit": "3.7.*"
},
"type": "composer-installer",
"extra": {
"class": "FancyGuy\\Composer\\WebrootInstaller"
},
"autoload": {
"psr-0": {
"FancyGuy\\Composer\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"authors": [
{
"name": "Steve Buzonas",
"email": "[email protected]",
"homepage": "http://www.stevebuzonas.com"
}
],
"description": "A composer installer for libraries that live in an application webroot.",
"homepage": "http://fancyguy.github.com/webroot-installer/",
"time": "2013-03-15 17:51:14"
},
{
"name": "twig/twig",
"version": "v1.16.0",
"source": {
"type": "git",
"url": "https://github.com/fabpot/Twig.git",
"reference": "8ce37115802e257a984a82d38254884085060024"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/fabpot/Twig/zipball/8ce37115802e257a984a82d38254884085060024",
"reference": "8ce37115802e257a984a82d38254884085060024",
"shasum": ""
},
"require": {
"php": ">=5.2.4"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.16-dev"
}
},
"autoload": {
"psr-0": {
"Twig_": "lib/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "[email protected]",
"homepage": "http://fabien.potencier.org",
"role": "Lead Developer"
},
{
"name": "Armin Ronacher",
"email": "[email protected]",
"role": "Project Founder"
},
{
"name": "Twig Team",
"homepage": "https://github.com/fabpot/Twig/graphs/contributors",
"role": "Contributors"
}
],
"description": "Twig, the flexible, fast, and secure template language for PHP",
"homepage": "http://twig.sensiolabs.org",
"keywords": [
"templating"
],
"time": "2014-07-05 12:19:05"
},
{
"name": "vlucas/phpdotenv",
"version": "1.0.6",
"source": {
"type": "git",
"url": "https://github.com/vlucas/phpdotenv.git",
"reference": "2821c024b4c14c7e6d1ff99e063ae9532620beb2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/2821c024b4c14c7e6d1ff99e063ae9532620beb2",
"reference": "2821c024b4c14c7e6d1ff99e063ae9532620beb2",
"shasum": ""
},
"require": {
"php": ">=5.3.2"
},
"require-dev": {
"phpunit/phpunit": "*"
},
"type": "library",
"autoload": {
"psr-0": {
"Dotenv": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD"
],
"authors": [
{
"name": "Vance Lucas",
"email": "[email protected]",
"homepage": "http://www.vancelucas.com",
"role": "Developer"
}
],
"description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.",
"homepage": "http://github.com/vlucas/phpdotenv",
"keywords": [
"dotenv",
"env",
"environment"
],
"time": "2014-01-31 16:18:39"
},
{
"name": "wordpress/wordpress",
"version": "4.0",
"dist": {
"type": "zip",
"url": "https://wordpress.org/wordpress-3.9.2.zip",
"reference": null,
"shasum": null
},
"require": {
"fancyguy/webroot-installer": "1.1.0"
},
"type": "webroot"
}
],
"packages-dev": [],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": [],
"prefer-stable": false,
"platform": {
"php": ">=5.3.2"
},
"platform-dev": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment