2017 © Pedro Peláez
 

symfony-bundle plugin-bundle

Symfony PluginBundle

image

codeages/plugin-bundle

Symfony PluginBundle

  • Friday, September 29, 2017
  • by Wellming
  • Repository
  • 1 Watchers
  • 3 Stars
  • 3,624 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 1 Open issues
  • 23 Versions
  • 1 % Grown

The README.md

Build Status, (*1)

README

编写一个插件

目录结构

如果您的插件名称为Demo那么目录结构为:, (*2)

plugins/
  DemoPlugin/
    Biz/
      Dao/
      Service/
    Controller/
    Migrations/
    Resources/
    Scripts/
      database.sql
      InstallScript.php
    DemoPlugin.php
    plugin.json

插件的源信息

即插件目录下的plugin.json:, (*3)

{
    "code": "Demo",
    "name": "演示插件",
    "description": "这是一个演示插件",
    "author": "EduSoho官方",
    "version": "1.0.0",
    "support_version": "7.2.0"
}

插件的引导文件

即插件目录下的DemoPlugin.php:, (*4)

<?php
namespace DemoPlugin;

use Codeages\PluginBundle\System\PluginBase;

class DemoPlugin extends PluginBase
{

}

DemoPlugin类必须继承自Codeages\PluginBundle\System\PluginBase类。, (*5)

插件的注册/注销

** 注册 **, (*6)

app/console plugin:register Demo

** 注销 **, (*7)

app/console plugin:remove Demo

The Versions

23/02 2017

v0.1.6

0.1.6.0 https://github.com/codeages/plugin-bundle

Symfony PluginBundle

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin theme extendsion

07/02 2017

v0.1.5

0.1.5.0 https://github.com/codeages/plugin-bundle

Symfony PluginBundle

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin theme extendsion

19/01 2017

v0.1.4

0.1.4.0 https://github.com/codeages/plugin-bundle

Symfony PluginBundle

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin theme extendsion

18/01 2017

v0.1.3

0.1.3.0 https://github.com/codeages/plugin-bundle

Symfony PluginBundle

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin theme extendsion

27/12 2016

v0.1.1

0.1.1.0 https://github.com/codeages/plugin-bundle

Symfony PluginBundle

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin theme extendsion

01/12 2016

v0.1.0

0.1.0.0 https://github.com/codeages/plugin-bundle

Symfony PluginBundle

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin theme extendsion

01/12 2016

v0.1.2

0.1.2.0 https://github.com/codeages/plugin-bundle

Symfony PluginBundle

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin theme extendsion