PHP code example of jasonbaciulis / bedrock-commands

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

    

jasonbaciulis / bedrock-commands example snippets

bash
php please delete:bedrock-block
bash
php please rename:bedrock-block
bash
php please make:bedrock-set
bash
php please delete:bedrock-set
bash
php please rename:bedrock-set
bash
php please make:bedrock-block hero "Hero Simple" --instructions="A simple hero with a title and text."
php please delete:bedrock-block hero hero_simple --force
php please rename:bedrock-block hero hero_simple "Hero Centered" --force
bash
php artisan vendor:publish --tag=bedrock-commands-config
bash
php artisan vendor:publish --tag=bedrock-commands-stubs