PHP code example of avelpress / avelpress-cli

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

    

avelpress / avelpress-cli example snippets


'release' => [
    'store' => [
        // File names this plugin owns in the store, when they differ from the
        // plugin id or the plugin was once published under another name.
        'match'   => [ 'infixs-checkout-fields', 'br-checkout-fields-for-woocommerce' ],
        // Sibling plugins whose file names start the same way and must not be
        // claimed, e.g. "-pro" and "-dokan" next to the free plugin.
        'exclude' => [ 'infixs-correios-automatico-pro' ],
    ],
    'version_files' => [ 'infixs-checkout-fields.php', 'readme.txt' ],
    'retention'     => [ 'keep' => 3 ],
    'git'           => [ '
bash
php vendor/bin/avel <command>
bash
php bin/avel <command>
bash
php bin/avel list
bash
php bin/avel build --ignore-platform-reqs
bash
php bin/avel release --dry-run          # show what would change
php bin/avel release --bump=patch       # bump, build, publish and sync
php bin/avel release:doctor             # audit only, writes nothing
php bin/avel release:doctor --site-wide # audit every plugin on the site
php bin/avel release:restore dist/release-backup-1.2.0-20260902-001651.json