threadi/easy-updates-from-vcs-for-wordpress
Composer 安装命令:
composer require threadi/easy-updates-from-vcs-for-wordpress
包简介
Provides a simple method to update WordPress plugin via GitHub.
README 文档
README
Requirements
- composer to install this package.
- WordPress-plugin or -theme to use it.
Prerequirements
For use with GitHub
- Create your own API key here.
- Make sure to set the permissions for the repository you will use on the API key settings.
- Create a first release of your plugin / theme in GitHub.
Installation
composer require threadi/easy-updates-from-vcs-for-wordpress- Create the configuration file
eufvgw.ymlin the root of your plugin and adapt the settings for your needs:
type:
- name: Plugin
- slug: tz-test-plugin
- file: tz-test-plugin.php
source:
- name: GitHub
- user: threadi
- repository: tz-test-plugin
- key: c
cache: true
- Add the codes from
doc/install.phpto your WordPress-project (plugin or theme).
Check for WordPress Coding Standards
Initialize
composer install
Run
vendor/bin/phpcs --standard=vendor/threadi/easy-updates-from-vcs-for-wordpress/ruleset.xml vendor/threadi/easy-updates-from-vcs-for-wordpress/
Repair
vendor/bin/phpcbf --standard=vendor/threadi/easy-updates-from-vcs-for-wordpress/ruleset.xml vendor/threadi/easy-updates-from-vcs-for-wordpress/
Analyse with PHPStan
vendor/bin/phpstan analyse -c vendor/threadi/easy-updates-from-vcs-for-wordpress/phpstan.neon
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2025-06-17