Download the PHP package yeswedev/auto-composer-update without Composer
On this page you can find all versions of the php package yeswedev/auto-composer-update. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download yeswedev/auto-composer-update
More information about yeswedev/auto-composer-update
Files in yeswedev/auto-composer-update
Download yeswedev/auto-composer-update
More information about yeswedev/auto-composer-update
Files in yeswedev/auto-composer-update
Vendor yeswedev
Package auto-composer-update
Short Description A plugin that automatically updates the composer when a WordPress plugin is updated.
License MIT
Package auto-composer-update
Short Description A plugin that automatically updates the composer when a WordPress plugin is updated.
License MIT
Please rate this library. Is it a good library?
Informations about the package auto-composer-update
Auto Composer Update
A plugin that uses WordPress Automatic Updater to send data to an API that updates the "composer.json", add changes and commit. It works for plugins and core.
Installation and usage
-
Install the plugin with composer :
- Add the
WP_CURRENT_PATH
,GIT_REPOSITORY
,GIT_BRANCH
,UPDATE_REPOSITORY (true or false)
andAPI_UPDATE_WORDPRESS
environment variable, which points to the path of the WordPress project - In your WordPress configuration, check the presence of these lines on the environment you want
Config::define('AUTOMATIC_UPDATER_DISABLED', false);
Config::define('FS_METHOD', 'direct');
Config::define('WP_AUTO_UPDATE_CORE', true);
Config::define('DISALLOW_FILE_MODS', false);
- Ensure that all maintainers can push on the branch concerned.
- Go to back-office and enable the plugin.
- Wait for WordPress Automatic Updater or use CLI to trigger it :
wp eval 'do_action("wp_maybe_auto_update");'
Help
When the update fail, WordPress may add a '.lock' into the wp_options table, normally it will expire before the next trigger of the WordPress Automatic Updater, but you can also remove it manually : DELETE FROM 'wp_options' WHERE 'option_name' LIKE '%.lock%';
to be sure.
All versions of auto-composer-update with dependencies
PHP Build Version
Package Version
Requires
composer/installers Version
>=2.0
guzzlehttp/guzzle Version ^7.8
vlucas/phpdotenv Version ^5.6
guzzlehttp/guzzle Version ^7.8
vlucas/phpdotenv Version ^5.6
The package yeswedev/auto-composer-update contains the following files
Loading the files please wait ....