PHP code example of lerouse / laravel-change-control

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

    

lerouse / laravel-change-control example snippets


\Lerouse\LaravelChangeControl\LaravelChangeControlServiceProvider::class,

$version = version();

// outputs v2.1.3 (from the above changelog example)
$version = version()->get();

// outputs the full changelog as a plain string
$version = version()->changelog();
bash
php composer 
bash
php artisan vendor:publish --tag=change-control-config