1. Go to this page and download the library: Download wplatest/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/ */
wplatest / updater example snippets
/**
* Plugin Name: My Plugin
* Version: 1.0.0
* Update URI: https://www.automagicwp.com
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
=> 'plugin_abc123', // Plugin ID from the AutomagicWP dashboard
'secret' => 'your-api-key', // Optional: