PHPackages                             phpdish/plugin-skeleton - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. phpdish/plugin-skeleton

ActivePhpdish-plugin[Utility &amp; Helpers](/categories/utility)

phpdish/plugin-skeleton
=======================

Acme example plugin for PHPDish application.

00PHP

Since Mar 19Pushed 8y ago1 watchersCompare

[ Source](https://github.com/phpdish/PluginSkeleton)[ Packagist](https://packagist.org/packages/phpdish/plugin-skeleton)[ RSS](/packages/phpdish-plugin-skeleton/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHPDish Plugin Skeleton
=======================

[](#phpdish-plugin-skeleton)

[![Latest Stable Version](https://camo.githubusercontent.com/4aa4e07d7a26b1a76756327cb663fd72030f04210179a1afa5891b946a1b7a83/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f706870646973682f706c7567696e2d736b656c65746f6e2e7376673f7374796c653d666c61742d737175617265266c6162656c3d737461626c65)](https://packagist.org/packages/phpdish/plugin-skeleton)[![Total Downloads](https://camo.githubusercontent.com/2dc7ce0a70867f454a651eebfca236dcb583e6bc26018cbdbe675c92c680cf0b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706870646973682f706c7567696e2d736b656c65746f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phpdish/plugin-skeleton)[![MIT License](https://camo.githubusercontent.com/f525cc687727705f9101a958a85c5d7fde1a642112ff00406c6b42eeac3aa794/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f706870646973682f706c7567696e2d736b656c65746f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phpdish/plugin-skeleton)[![Scrutinizer](https://camo.githubusercontent.com/a7c57958788a606e8235b93acf74cf2e8bb83fe05b6827c7c80469682dfd85cd/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f706870646973682f506c7567696e536b656c65746f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/phpdish/PluginSkeleton/?branch=master)

创建 PHPDish 用到的样例代码。一个 PHPDish 插件应该是一个合法的 Symfony 组件。所有的文件结构遵循 [Symfony Bundle](http://symfony.com/doc/current/bundles.html)。

Installation
------------

[](#installation)

1. 在你的 PHPDish 项目下执行下面命令下载代码；

    ```
    $ composer create-project phpdish/plugin-skeleton ProjectName

    ```
2. 重命名 `src/AcmePHPDishExamplePlugin.php` 文件为你的插件名称;

    例如：你的插件名称为 `phpdish-email-plugin`，那么本文件名为 `VendorPHPDishEmailPlugin`其中vendor是你的名称代号，表示你是这个插件的提供商。
3. 替换命名空间为你的名称开头，如果你不想做这个事情可以省略。
4. 修改的 `composer.json` 文件，把这个插件的命名空间写入自动加载；

    ```
    {
        "autoload": {
            "psr-4": {
                "Vendor\\PHPDishEmailPlugin\\": "src/"
            }
        },
        "autoload-dev": {
            "psr-4": {
                "Vendor\\PHPDishEmailPlugin\\Tests\\": "tests/"
            }
        },
    }
    ```

    注意，在插件的开发阶段，为确保你的插件会被项目加载，你需要把上面提到的加载项也写入到 `PHPDish` 的 `composer.json` 文件 里去。

Support
-------

[](#support)

如果有问题可以前往官网发帖或者直接在 issue 提问。

License
-------

[](#license)

采用 [MIT](https://opensource.org/licenses/MIT) 开源许可证。

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b42a72586fe1ef003d36361877bd2178b670826f5fa7a4194496d619c8ca428?d=identicon)[coreyee](/maintainers/coreyee)

---

Top Contributors

[![slince](https://avatars.githubusercontent.com/u/3785826?v=4)](https://github.com/slince "slince (5 commits)")

---

Tags

phpdishphpdish-theme

### Embed Badge

![Health badge](/badges/phpdish-plugin-skeleton/health.svg)

```
[![Health](https://phpackages.com/badges/phpdish-plugin-skeleton/health.svg)](https://phpackages.com/packages/phpdish-plugin-skeleton)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
