PHP code example of alwathan / laraupdater

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

    

alwathan / laraupdater example snippets


'providers' => [
    // ...
    
    /*
     * Package Service Providers...
     */
    Alwathan\LaraUpdater\LaraUpdaterServiceProvider::class,
    
    // ...
],

return [
    'app_version'               => env('APP_VERSION', 'v2.0'),
    'github' => [
        'vendor'                    => env('GITHUB_VENDOR','vendor'),
        'repository'                => env('GITHUB_REPOSITORY','repository'),
        'personal_access_token'     => env('GITHUB_PERSONAL_ACCESS_TOKEN','token_access'),
    ],
];