PHP code example of jbuncle / php-autosemver

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

    

jbuncle / php-autosemver example snippets


 namespace MyNamespace;
 class SomeClass {
    public function aMethod($a, $b = 0) {}
 }
bash
composer global 
bash
cd <your project>
php-autosemver <revision-from> <revision-to>
bash
php-autosemver --verbosity=1 HEAD WC