2017 © Pedro Peláez
 

library pmvc

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

image

pmvc/pmvc

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  • Sunday, May 13, 2018
  • by HillLiu
  • Repository
  • 2 Watchers
  • 6 Stars
  • 8,979 Installations
  • PHP
  • 77 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 44 Versions
  • 2 % Grown

The README.md

Table of Contents

, (*1)

PMVC

A simple MVC for unidirectional dataflow architecture., (*2)

Latest Stable Version Latest Unstable Version CircleCI StyleCI Coverage Status License Total Downloads, (*3)

Getting Started

  • https://github.com/pmvc/pmvc/wiki
  • Heroku (or Dokku) ready app test
    • Deploy

How to use?

plug( 'PluginName', ['option'] );

Plugin Hello world

  • Source Code
<?php
namespace PMVC\PlugIn\hello_world;
${_INIT_CONFIG}[_CLASS] = __NAMESPACE__.'\hello_world';
class hello_world extends \PMVC\PlugIn
{
    public function say()
    {
        echo $this[0]."\n";
    }
}
  • Used
\PMVC\plug('hello_world', ['Hello, PMVC.'])->say();

PlugIn features

  • addPlugInFolders
  • callPlugin
  • unPlug
  • rePlug
  • initPlugIn
  • plug

PlugIn Generator

  • https://github.com/pmvc/generator-pmvc

MVC

  • Controller
    • https://github.com/pmvc-plugin/controller
  • View
    • https://github.com/search?q=topic:pmvc-view
    • view_react
    • view_html
    • view_json
    • view_cli
  • Model
    • https://github.com/pmvc-plugin
  • MVC Demo Project
    • https://github.com/pmvc/react-pmvc

PMVC Family

  • Core Library
    • https://github.com/pmvc/pmvc
    • CLI
      • https://github.com/pmvc/pmvc-cli
  • PMVC Plug-ins
    • https://github.com/pmvc-plugin
  • PMVC Applications
    • https://github.com/pmvc-app
  • PMVC Themes
    • https://github.com/pmvc-theme

Explain addPlugInFolders

The last folder will have more high priority., (*4)

Such as, (*5)

addPlugInFolders(['./a', './b'])

If folder a and folder b both have same plugin will apply with folder b., (*6)


Quick test

composer require pmvc/pmvc

Quick test with docker

  • https://github.com/pmvc/docker-pmvc-phpunit
docker run --rm -v $(pwd):/var/www/html allfunc/pmvc-phpunit composer require pmvc/pmvc
  • vim test.php
<?php
 include_once('vendor/autoload.php');
 \PMVC\Load::plug();
 \PMVC\d("Hello There");
  • Run
docker run --rm -v $(pwd):/var/www/html allfunc/pmvc-phpunit php ./test.php

MIT 2023, (*7)

The Versions

13/05 2018

dev-master

9999999-dev

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

13/05 2018

0.9.4

0.9.4.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

23/04 2018

0.9.3

0.9.3.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

23/04 2018

0.9.2

0.9.2.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

23/04 2018

0.9.1

0.9.1.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

23/04 2018

dev-analysis-qggJp1

dev-analysis-qggJp1

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

22/04 2018

0.9.0

0.9.0.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

22/04 2018

0.8.12

0.8.12.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

22/04 2018

0.8.11

0.8.11.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

22/04 2018

dev-analysis-8Qa5m3

dev-analysis-8Qa5m3

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

22/04 2018

0.8.10

0.8.10.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

21/04 2018

0.8.9

0.8.9.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

10/04 2018

0.8.8

0.8.8.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

17/03 2018

0.8.7

0.8.7.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

14/03 2018

0.8.6

0.8.6.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

13/03 2018

0.8.5

0.8.5.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

16/02 2018

0.8.3

0.8.3.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

04/02 2018

0.8.2

0.8.2.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

03/02 2018

dev-analysis-qxNLeO

dev-analysis-qxNLeO

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

13/01 2018

0.8.1

0.8.1.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

13/01 2018

0.8.0

0.8.0.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

12/01 2018

0.7.156

0.7.156.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

30/10 2017

0.7.155

0.7.155.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

06/09 2017

0.7.154

0.7.154.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

06/09 2017

0.7.153

0.7.153.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

31/08 2017

0.7.151

0.7.151.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

31/08 2017

0.7.150

0.7.150.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

19/08 2017

0.7.149

0.7.149.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

12/06 2017

0.7.135

0.7.135.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

05/06 2017

0.7.134

0.7.134.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

31/03 2017

0.7.125

0.7.125.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

16/03 2017

0.7.124

0.7.124.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

30/12 2016

0.7.100

0.7.100.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

10/08 2016

0.7.82

0.7.82.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

08/06 2016

0.7.68

0.7.68.0

Pure plugin framework (PMVC7), use anything you like. No mvc, http inside.

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

14/02 2016

0.6.1

0.6.1.0

The New PHP5.6 MVC framework, conatain double engine and double framework

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

08/02 2016

0.5.4

0.5.4.0

The New PHP5.6 MVC framework, conatain double engine and double framework

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

24/01 2016

0.4.5

0.4.5.0

The New PHP5.6 MVC framework, conatain double engine and double framework

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

21/01 2016

0.3.8

0.3.8.0

The New PHP5.6 MVC framework, conatain double engine and double framework

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

04/10 2015

0.3.4

0.3.4.0

The New PHP5.6 MVC framework, conatain double engine and double framework

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

19/09 2015

0.2.131

0.2.131.0

The New PHP5.6 MVC framework, conatain double engine and double framework

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

18/09 2015

0.2.12

0.2.12.0

The New PHP5.6 MVC framework, conatain double engine and double framework

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

17/08 2015

0.2.5

0.2.5.0

The New PHP5.6 MVC framework, conatain double engine and double framework

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework

29/07 2015

0.1.13

0.1.13.0 https://github.com/pmvc/pmvc

The New PHP5.6 MVC framework, conatain double engine and double framework

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

The Development Requires

by Hill

framework mvc plug-in plug pmvc phramework