PHP code example of app2641 / emerald-beans

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

    

app2641 / emerald-beans example snippets



define('LIB', '/Users/hoge/Desktop/Test/library');
define('APP', 'App');


use Emerald\CLI;

CLI::getInstance()->execute($argv);

$ ls library/App/commands/
Foo.php

$ vi library/App/commands/Foo.php