fancyguy/composer-wordpress-plugin
最新稳定版本:1.3.0
Composer 安装命令:
composer require fancyguy/composer-wordpress-plugin
包简介
WordPress installer for Composer
README 文档
README
This is a Composer plugin to add WordPress packages from the SVN repository.
Getting Started
This plugin needs to be globally installed in order to initialize the repositories early enough.
composer global require fancyguy/composer-wordpress-plugin
Repositories
WordPressCoreRepository - This provides the wordpress/wordpress package from SVN as a source install and from the API as a dist install.
WordPressThemeRepository - This exposes themes on wordpress.org as wordpress-theme/* from the SVN for source or the API for dist.
WordPressPluginRepository - This exposes plugins on wordpress.org as wordpress-plugin/* from the SVN for source or the API for dist.
Installers
CoreInstaller - This installs the wordpress-core package, writes wp-config.php and generates salts.
ThemeInstaller - This installs wordpress-theme packages into the configured theme directory.
PluginInstaller - This installs the wordpress-plugin packages into the configured plugin directory.
Configuration
The installers use the following default configuration to define the corresponding constants in wp-config.php
{
"extra": {
"wordpress": {
"webroot": "wordpress",
"content-path": "wp-content",
"themes-path": "${contentPath}/themes",
"plugins-path": "${contentPath}/plugins",
"mu-plugins-path": "${contentPath}/mu-plugins"
}
}
}
统计信息
- 总下载量: 37
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-02-06