PHP code example of automattic / vip-build-tools

1. Go to this page and download the library: Download automattic/vip-build-tools 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/ */

    

automattic / vip-build-tools example snippets


GITHUB_TOKEN="" CHANGELOG_POST_TOKEN="" CIRCLE_PROJECT_USERNAME="" CIRCLE_PROJECT_REPONAME="" php scripts/github-changelog.php \
    --wp-endpoint=https://example.com/wp-json/wp/v2/posts \
    --wp-status=draft \
    --wp-categories=3 \
    --link-to-pr=true \
    --changelog-source=last-release \
    --wp-terms=custom_taxonomy_slug:1 \
    --wp-terms=tags:4 \
    --changelog-title="VIP Dashboard {date}"