wp-posts-to-posts
wp-posts-to-posts copied to clipboard
Can't instal via composer
Hi there, thank you for create this amazing plugin. I have some problems when I try install via composer I got this errors: Problem 1 - Installation request for scribu/posts-to-posts dev-master -> satisfiable by scribu/posts-to-posts[dev-master]. - scribu/posts-to-posts dev-master requires scribu/lib-posts-to-posts dev-master -> no matching package found.
This my composer.json file:
"repositories": [
{
"type": "vcs",
"url": "https://github.com/scribu/wp-posts-to-posts"
}
],
"require": {
"php": ">=5.3",
"scribu/posts-to-posts": "dev-master"
},
You probably need to set "minimum-stability": "dev", like here.
this way work's fine :
{
"type": "package",
"package": {
"name": "scribu/wp-posts-to-posts",
"type": "wordpress-plugin",
"version": "1.6.4",
"minimum-stability": "dev",
"source": {
"url": "https://github.com/scribu/wp-posts-to-posts.git",
"type": "git",
"reference": "1.6.4"
}
}
}
Ouups sorry, this way seem's better :
"require": {
"wpackagist-plugin/posts-to-posts": "1.6.x"
}