PHP code example of kauffinger / statamic-context-cli

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

    

kauffinger / statamic-context-cli example snippets

bash
php artisan vendor:publish --tag="statamic-context-cli-config"
bash
php artisan statamic-context
bash
php artisan statamic-context:docs:update
bash
# Interactive search
php artisan statamic-context:peak:search --interactive

# Direct search
php artisan statamic-context:peak:search page-builder
php artisan statamic-context:peak:search seo
bash
php artisan statamic-context:peak:get features:page-builder
bash
php artisan statamic-context:peak:update