PHP code example of veronalabs / updater

1. Go to this page and download the library: Download veronalabs/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/ */

    

veronalabs / updater example snippets


\VeronaLabs\Updater\UpdaterChecker::getInstance(array(
    'plugin_slug'  => 'plugin-slug',
    'website_url'  => 'https://plugin-url.com',
    'license_key'  => 'license-key',
    'plugin_path'  => 'plugin-path',
    'setting_page' => admin_url('admin.php?page=plugin-setting-page')
));