PHP code example of synopsie / sofia-updater

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

    

synopsie / sofia-updater example snippets


Updater::checkUpdate($pluginName, $this->getDescription()->getVersion(), $ownerRepo, $repoName, $token = null);
`

## 📦 Installation
- Ajouter le repository dans le fichier ``composer.json``