PHP code example of imagewize / elayne-cli

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

    

imagewize / elayne-cli example snippets



/**
 * Title: My Pattern
 * Slug: elayne/my-pattern
 * Description: My Pattern
 * Categories: elayne/hero
 * Keywords: hero, banner
 * Viewport Width: 1200
 * Block Types: core/group
 */
bash
> composer global remove imagewize/elayne-cli
> composer global 
json
"scripts": {
    "pattern:list":   "@php ./vendor/bin/elayne pattern:list",
    "pattern:create": "@php ./vendor/bin/elayne pattern:create",
    "layout:create":  "@php ./vendor/bin/elayne layout:create",
    "style:create":   "@php ./vendor/bin/elayne style:create"
}