PHP code example of charlie / wp-scaffolder

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

    

charlie / wp-scaffolder example snippets


"scripts": {
    "post-install-cmd": [
      "php -r \"shell_exec('cp -rf vendor/charlie/wp-scaffolder/scripts/. scripts/');\"",
      "bash scripts/set-env.sh",
      "bash scripts/plugin-extraction.sh",
      "bash scripts/database.sh"
    ],
    "post-update-cmd": [
      "php -r \"shell_exec('cp -rf vendor/charlie/wp-scaffolder/scripts/. scripts/');\"",
      "bash scripts/set-env.sh",
      "bash scripts/plugin-extraction.sh",
      "bash scripts/database.sh"
    ]
  },