PHP code example of mcuelenaere / composer-revision-plugin

1. Go to this page and download the library: Download mcuelenaere/composer-revision-plugin 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/ */

    

mcuelenaere / composer-revision-plugin example snippets


$revisionOfMyProject = ComposerRevisions\Revisions::$byName['foo/my-project'];
$revisionOfMyLibrary = ComposerRevisions\Revisions::$byName['foo/my-library'];