At first you need to isntall Appseo Client
You can install AppSero Client Updater in two ways, via composer and manually.
Add dependency in your project (theme/plugin):
composer require appsero/updater
Now add autoload.php
in your file if you haven't done already.
require __DIR__ . '/vendor/autoload.php';
Clone the repository in your project.
cd /path/to/your/project/folder
git clone https://github.com/AppSero/updater.git updater
if (! class_exists('Appsero\Updater')) {
require __DIR__ . '/updater/src/Updater.php';
}
$client = new Appsero\Client( 'a4a8da5b-b419-4656-98e9-4a42e9044891', 'Akismet', __FILE__ );
// Active automatic updater
Appsero\Updater::init($client);