2017 © Pedro Peláez
 

library hello_world

Hello World Plugin, show you how the pmvc work

image

pmvc-plugin/hello_world

Hello World Plugin, show you how the pmvc work

  • Wednesday, August 3, 2016
  • by HillLiu
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Latest Stable Version Latest Unstable Version Build Status License Total Downloads, (*1)

# PMVC Hello World Plugin

How to use? Check the demo code.

https://github.com/pmvc-plugin/hello_world/tree/master/demo, (*2)

Install with Composer

1. Download composer

  • mkdir test_folder
  • curl -sS https://getcomposer.org/installer | php

2. Install by composer.json or use command-line directly

2.1 Install by composer.json

  • vim composer.json
{
    "require": {
        "pmvc-plugin/hello_world": "dev-master"
    }
}
  • php composer.phar install

2.2 Or use composer command-line

  • php composer.phar require pmvc-plugin/hello_world

3. Write some demo code

<?php
    include('vendor/autoload.php');
    PMVC\Load::plug();
    \PMVC\plug('hello_world', ['Hello, PMVC.'])->say();
?>

4. Run the demo

  • php demo.php

5. Check the whole demo code

  • https://github.com/pmvc-plugin/hello_world/tree/master/demo

One line test

php -r "include('vendor/autoload.php'); PMVC\Load::plug([],['../']); \PMVC\plug('hello_world', ['Hello, PMVC.'])->say();"

The Versions

03/08 2016

dev-master

9999999-dev

Hello World Plugin, show you how the pmvc work

  Sources   Download

MIT

The Requires

 

by Hill

hello plug-in pmvc

03/08 2016

0.1.2

0.1.2.0

Hello World Plugin, show you how the pmvc work

  Sources   Download

MIT

The Requires

 

by Hill

hello plug-in pmvc