初始化本地仓库
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'enable' => true,
|
||||
'debug' => true,
|
||||
'controller_suffix' => 'Controller',
|
||||
'controller_reuse' => false,
|
||||
'version' => '1.0.0',
|
||||
'title' => 'Demo示例',
|
||||
'description' => 'Demo示例插件',
|
||||
'author' => 'Madong',
|
||||
'type' => 'madong',
|
||||
];
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* 插件信息配置
|
||||
*/
|
||||
|
||||
return [
|
||||
'name' => 'demo',
|
||||
'identifier' => 'demo',
|
||||
'version' => '1.0.0',
|
||||
'description' => '示例插件',
|
||||
'author' => 'Madong',
|
||||
'author_email' => 'support@madong.tech',
|
||||
'website' => 'https://www.madong.tech',
|
||||
'require' => [
|
||||
'composer' => [
|
||||
|
||||
],
|
||||
],
|
||||
'npm_require' => [
|
||||
'admin' => [
|
||||
|
||||
],
|
||||
'web' => [
|
||||
|
||||
],
|
||||
],
|
||||
'uninstall' => [
|
||||
'undeletable' => false,
|
||||
'drop_tables' => false,
|
||||
'remove_dependencies' => false,
|
||||
],
|
||||
'type' => 'madong',
|
||||
];
|
||||
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* This file is part of webman.
|
||||
* Licensed under The MIT License
|
||||
* For full copyright and license information, please see the MIT-LICENSE.txt
|
||||
* Redistributions of files must retain the above copyright notice.
|
||||
*
|
||||
* @author walkor<walkor@workerman.net>
|
||||
* @copyright walkor<walkor@workerman.net>
|
||||
* @link http://www.workerman.net/
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
*/
|
||||
|
||||
use Webman\Route;
|
||||
use WebmanTech\Swagger\Swagger;
|
||||
use OpenApi\Annotations as OA;
|
||||
|
||||
Reference in New Issue
Block a user