===============
https://github.com/pmvc-plugin/hello_world/tree/master/demo
- mkdir test_folder
- curl -sS https://getcomposer.org/installer | php
- vim composer.json
{
"require": {
"pmvc-plugin/hello_world": "dev-master"
}
}
- php composer.phar install
- php composer.phar require pmvc-plugin/hello_world
<?php
include('vendor/autoload.php');
PMVC\Load::plug();
\PMVC\plug('hello_world', ['Hello, PMVC.'])->say();
?>
- php demo.php
php -r "include('vendor/autoload.php'); PMVC\Load::plug([],['../']); \PMVC\plug('hello_world', ['Hello, PMVC.'])->say();"