Skip to content

yunkeweb/think-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

think-plugin

一款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