PHPackages                             pmvc/pmvc - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. pmvc/pmvc

ActiveLibrary[Framework](/categories/framework)

pmvc/pmvc
=========

Pure plugin framework (PMVC with PHP8), use anything you like. No mvc, http inside.

3.1.1(1mo ago)914.5k20ISCPHPPHP &gt;=5.6.0

Since Jul 29Pushed 2y ago2 watchersCompare

[ Source](https://github.com/pmvc/pmvc)[ Packagist](https://packagist.org/packages/pmvc/pmvc)[ RSS](/packages/pmvc-pmvc/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (66)Used By (20)

Table of Contents
-----------------

[](#table-of-contents)

- [PMVC](#pmvc)
- [Getting Started](#getting-started)
- [How to use?](#how-to-use)
    - [Plugin hello world](#plugin-hello-world)
    - [PlugIn features](#plugin-features)
    - [PlugIn Generator](#plugin-generator)
- [\[M\]odel \[V\]iew \[C\]ontroller](#mvc)
- [PMVC Family](#pmvc-family)
- [Explain addPlugInFolders](#explain-addpluginfolders)
- [Quick test](#quick-test)

[![](https://raw.githubusercontent.com/pmvc/pmvc.github.io/master/flow5.png)](https://raw.githubusercontent.com/pmvc/pmvc.github.io/master/flow5.png)

PMVC
====

[](#pmvc)

A simple MVC for unidirectional dataflow architecture.

[![Latest Stable Version](https://camo.githubusercontent.com/6fe3305411adf4748fe9b2618c0d0e98e48fc54ad966b38ee7f4e3c11082d2d6/68747470733a2f2f706f7365722e707567782e6f72672f706d76632f706d76632f762f737461626c65)](https://packagist.org/packages/pmvc/pmvc)[![Latest Unstable Version](https://camo.githubusercontent.com/d6a6cb99a93ff0f807a31bd4a73dee51c38a8c23a988d9b53014b8e6756e4a53/68747470733a2f2f706f7365722e707567782e6f72672f706d76632f706d76632f762f756e737461626c65)](https://packagist.org/packages/pmvc/pmvc)[![CircleCI](https://camo.githubusercontent.com/5f6575c37d3406c8628d1c210f5dcc4551200d2eb279459fefb87c1fbefb50af/68747470733a2f2f636972636c6563692e636f6d2f67682f706d76632f706d76632f747265652f6d61696e2e7376673f7374796c653d737667)](https://circleci.com/gh/pmvc/pmvc/tree/main)[![StyleCI](https://camo.githubusercontent.com/d4f58ae905f5e848674b70e31b0a019d75ce1081a2e8fd02ab8f92f0cb10d8d5/68747470733a2f2f7374796c6563692e696f2f7265706f732f33343630313038332f736869656c64)](https://styleci.io/repos/34601083)[![Coverage Status](https://camo.githubusercontent.com/19abc244b496ff380ce4bad7317b64d8bd3e7c18a4e48f0c6dbd0239da5e8e59/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f706d76632f706d76632f62616467652e7376673f6272616e63683d6d61696e)](https://coveralls.io/github/pmvc/pmvc?branch=main)[![License](https://camo.githubusercontent.com/bda568e28856630690df2ce89e3d3f3eede2b42d3061dc23721d5eb07f52fdf9/68747470733a2f2f706f7365722e707567782e6f72672f706d76632f706d76632f6c6963656e7365)](https://packagist.org/packages/pmvc/pmvc)[![Total Downloads](https://camo.githubusercontent.com/0f8bd6f6ef7b46b4ef9299573da450578ec093706b8d203824d0794e68dccc11/68747470733a2f2f706f7365722e707567782e6f72672f706d76632f706d76632f646f776e6c6f616473)](https://packagist.org/packages/pmvc/pmvc)

Getting Started
---------------

[](#getting-started)

-
- Heroku (or Dokku) ready app test
    - [![Deploy](https://camo.githubusercontent.com/3da7ea007288c7a8b14c8c84f0836d66ba8f82bd2f3b72fb7e0e72e19a16d28f/68747470733a2f2f7777772e6865726f6b7563646e2e636f6d2f6465706c6f792f627574746f6e2e706e67)](https://github.com/pmvc/react-pmvc)

How to use?
-----------

[](#how-to-use)

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

```

### Plugin Hello world

[](#plugin-hello-world)

- Source Code

```
