初始化本地仓库

This commit is contained in:
2026-08-31 11:33:59 +08:00
commit 663f74b633
2390 changed files with 402918 additions and 0 deletions
+13
View File
@@ -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',
];
+34
View File
@@ -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',
];
+17
View File
@@ -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;