yunkeweb/think-plugin

一款tp6插件包

1.1.0 2022-10-31 04:52 UTC

This package is auto-updated.

Last update: 2024-04-07 08:56:53 UTC


README

一款tp6插件包.

Installing

$ composer require yunkeweb/think-plugin -vvv

Usage

需要在 composer.json 中

"autoload": {
        "psr-4": {
            "plugin\\": "plugin"
        }
    },

运行

composer dump

访问

xxx.com/plugin/插件名/控制器/方法

多级访问 xxx.com/plugin/插件名/目录名.控制器/方法

Contributing

You can contribute in one of three ways:

  1. File bug reports using the issue tracker.
  2. Answer questions or fix bugs on the issue tracker.
  3. Contribute new features or update the wiki.

The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.

License

MIT