PHP code example of craftcms / generator

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

    

craftcms / generator example snippets

sh
php craft make
sh
php craft make plugin
php craft make module
sh
php craft make generator --plugin=<plugin-handle>