2017 © Pedro Peláez
 

library junty-plugin

Package for create Junty plugins.

image

junty/junty-plugin

Package for create Junty plugins.

  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Junty Plugin

This package constains the extension for Junty plugins., (*1)

Usage

Install on your package

$ composer require junty/junty-plugin

Creating the plugin

namespace MyNamespace;

use Junty\Plugin\PluginInterface;

class MyPlugin implements PluginInterface
{
    public function getName() : string
    {
        return 'my_plugin';
    }

    public function getCallback() : callable
    {
        return function (array $streams) {
            //...
        };
    }
}

The Versions

04/03 2016

dev-master

9999999-dev

Package for create Junty plugins.

  Sources   Download

MIT

04/03 2016

v0.1.1

0.1.1.0

Package for create Junty plugins.

  Sources   Download

MIT

04/03 2016

v0.1.0

0.1.0.0

Package for create Junty plugins.

  Sources   Download

MIT