How do I use it?
- Add the repository to your
composer.json - Add the desired plugins and themes to your requirements using
wpackagist-pluginorwpackagist-themeas the vendor name. - Run
$ composer.phar update - Packages are
installed to
wp-content/plugins/orwp-content/themes/
Example
{
"name": "acme/brilliant-wordpress-site",
"description": "My brilliant WordPress site",
"repositories":[
{
"type":"composer",
"url":"http://wpackagist.org"
}
],
"require": {
"aws/aws-sdk-php":"*",
"wpackagist-plugin/akismet":"dev-trunk",
"wpackagist-plugin/captcha":">=3.9",
"wpackagist-theme/hueman":"*"
},
"autoload": {
"psr-0": {
"Acme": "src/"
}
}
}
This example composer.json file adds the Wpackagist
repository and includes the latest version of Akismet, at least version
3.9 of Captcha, and the latest Hueman theme along with the Amazon Web
Services SDK from the main Packagist repository.FROM http://wpackagist.org/