PHP code example of scto / plugin-compiler

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

    

scto / plugin-compiler example snippets


use Scto\PluginCompiler\CompilerApp;


public $args = [
    'manifest.json', // manifest file
    'help.textile',  // help file in textile markup
    'textpack.txt',  // combined textpack file with all localisation strings
    'src',           // directory with the PHP source code
    'dist',          // directory for the compiled plugins
];

$app = new CompilerApp();
$app->run($args);