threadi / easy-updates-from-vcs-for-wordpress
Provides a simple method to update WordPress plugin via GitHub.
dev-master
2025-06-19 11:32 UTC
Requires
- php: ^8.0
- dallgoot/yaml: ^1.0.1
Requires (Dev)
- automattic/vipwpcs: ^3.0
- wp-coding-standards/wpcs: ^3.1.0
This package is auto-updated.
Last update: 2025-06-19 11:33:39 UTC
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.yml
in 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.php
to 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