{"repo":"makeitworkpress/wp-updater","free":true,"listed":false,"github":"https://github.com/makeitworkpress/wp-updater","clone":"git clone https://github.com/makeitworkpress/wp-updater.git","description":"The WP Updater scripts allows to updates themes or plugins from external sources such as GitHub.","language":"PHP","stars":23,"topics":["wordpress-updater","wordpress","wordpress-development","wordpress-theme-development","wordpress-plugin-development"],"license":"GPL-3.0","category":"self-hosted-apps","readme_excerpt":"wp-updater The WP Updater scripts allows to updates themes or plugins from external sources such as GitHub. Currently, only GitHub is supported. WP Updater is maintained by Make it WorkPress. Usage You can include the WP Updater script in your theme or plugin, and required all the included classes manually or use a PHP autoloader. You can read more about autoloading in the readme of wp-autoload. Installation After you have correctly included all WP Updater script files or used an autoloader, the updater can be initialized. For plugins: And for themes: There are few things that should be noted: Because the updater is placed within a theme or plugin itself, it only functions when this given theme or plugin is active. For plugins, the folder name should be similar as the main file initilizing your plugin. For example, plugin-name/plugin-name.php . Private repositories Private GitHub repositories are supported by supplying a read-only access token, such as a fine-grained personal access token with read access to the repository contents. The token may be passed in the source url itself: Both https://your-token@github.com/yourname/private-plugin , https://yourname:your-token@github.com/yourname/private-plugin and https://github.com/yourname/private-plugin?access token=your-token are recognized. Alternatively, and preferably, the token can be passed separately so it is kept out of the url that is displayed within the admin: The token is added as an Authorization: Bearer header to th","default_branch":null,"files":null,"tree":[],"storefront":"/r/makeitworkpress","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/makeitworkpress/wp-updater/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}