Skip to content

Instantly share code, notes, and snippets.

@onnimonni
Created December 22, 2014 00:43
Show Gist options
  • Save onnimonni/3a8ef68482803a1e7df8 to your computer and use it in GitHub Desktop.
Save onnimonni/3a8ef68482803a1e7df8 to your computer and use it in GitHub Desktop.
koodimonni/composer-dropin-installer example 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": {"Roots\\Bedrock\\Installer": "scripts"}
},
"scripts": {
"post-root-package-install": ["Roots\\Bedrock\\Installer::addSalts"]
},
"repositories": [
{
"type": "composer",
"url": "http://wpackagist.org"
},
{
"type": "composer",
"url": "languages-mirror.koodimonni.fi"
},
{
"type": "vcs",
"url": "https://github.com/koodimonni/composer-dropin-installer"
}
],
"require": {
"koodimonni/composer-dropin-installer": "*",
"php": ">=5.4",
"johnpbloch/wordpress": "4.1",
"composer/installers": "*",
"vlucas/phpdotenv": "1.0.9",
"koodimonni-language/fi": "*",
"wpackagist-plugin/wp-redis": "*",
"wpackagist-plugin/wordpress-mu-domain-mapping": "*"
},
"extra": {
"installer-paths": {
"web/app/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
"web/app/plugins/{$name}/": ["type:wordpress-plugin"],
"web/app/themes/{$name}/": ["type:wordpress-theme"]
},
"dropin-paths": {
"web/app/languages/": ["type:wordpress-language"],
"web/app/languages/plugins/": ["type:wordpress-plugin-language"],
"web/app/languages/themes/": ["type:wordpress-theme-language"],
"web/app/plugins/": [
"package:wpackagist-plugin/wp-redis:object-cache.php",
"package:wppackagist-plugin/wordpress-mu-domain-mapping:sunrise.php"]
},
"wordpress-install-dir": "web/wp"
}
}
Copy link

ghost commented Jun 11, 2015

this won't work out of the box.

○ → composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package koodimonni-language/fi could not be found in any version, there may be a typo in the package name.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment