PHP code example of umdigital / wordpress-github-updater
1. Go to this page and download the library: Download umdigital/wordpress-github-updater library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
umdigital / wordpress-github-updater example snippets
// Initialize Github Updater
new \Umich\GithubUpdater\Init([
'repo' => 'its-cloudflare/umich-cloudflare',
'slug' => plugin_basename( __FILE__ ),
]);