wesmiler 5 éve
szülő
commit
3ee600c2db
4 módosított fájl, 3218 hozzáadás és 0 törlés
  1. 2 0
      backup/.gitignore
  2. 26 0
      build.example.php
  3. 67 0
      composer.json
  4. 3123 0
      composer.lock

+ 2 - 0
backup/.gitignore

@@ -0,0 +1,2 @@
+*
+!.gitignore

+ 26 - 0
build.example.php

@@ -0,0 +1,26 @@
+<?php
+// +----------------------------------------------------------------------
+// | ThinkPHP [ WE CAN DO IT JUST THINK ]
+// +----------------------------------------------------------------------
+// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
+// +----------------------------------------------------------------------
+// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
+// +----------------------------------------------------------------------
+// | Author: liu21st <liu21st@gmail.com>
+// +----------------------------------------------------------------------
+
+/**
+ * php think build 自动生成应用的目录结构的定义示例
+ */
+return [
+    // 需要自动创建的文件
+    '__file__'   => [],
+    // 需要自动创建的目录
+    '__dir__'    => ['controller', 'model', 'view'],
+    // 需要自动创建的控制器
+    'controller' => ['Index'],
+    // 需要自动创建的模型
+    'model'      => ['User'],
+    // 需要自动创建的模板
+    'view'       => ['index/index'],
+];

+ 67 - 0
composer.json

@@ -0,0 +1,67 @@
+{
+    "name": "topthink/think",
+    "description": "the new thinkphp framework",
+    "type": "project",
+    "keywords": [
+        "framework",
+        "thinkphp",
+        "ORM"
+    ],
+    "homepage": "http://thinkphp.cn/",
+    "license": "Apache-2.0",
+    "authors": [
+        {
+            "name": "liu21st",
+            "email": "liu21st@gmail.com"
+        }
+    ],
+    "require": {
+        "php": ">=7.1.0",
+        "ext-json": "*",
+        "ext-curl": "*",
+        "ext-bcmath": "*",
+        "ext-mbstring": "*",
+        "topthink/think-view": "^1.0",
+        "symfony/var-dumper":"^4.2",
+        "overtrue/wechat": "^3.3",
+        "topthink/think-captcha": "^3.0",
+        "topthink/think-image": "^1.0",
+        "xaboy/form-builder": "^1.2",
+        "firebase/php-jwt": "^5.0",
+        "phpoffice/phpexcel": "^1.8",
+        "aliyuncs/oss-sdk-php": "^2.3",
+        "qcloud/cos-sdk-v5": "^1.3",
+        "qiniu/php-sdk": "^7.2",
+        "workerman/workerman": "^3.5",
+        "workerman/channel": "^1.0",
+        "topthink/think-queue": "^3.0",
+        "spatie/macroable": "^1.0",
+        "dh2y/think-qrcode": "^2.0",
+        "topthink/think-multi-app": "^1.0",
+        "topthink/think-template": "^2.0"
+    },
+    "autoload": {
+        "psr-4": {
+            "app\\": "app",
+            "crmeb\\": "crmeb"
+        },
+        "psr-0": {
+            "": "extend/"
+        }
+    },
+    "config": {
+        "preferred-install": "dist"
+    },
+    "scripts": {
+        "post-autoload-dump": [
+            "@php think service:discover",
+            "@php think vendor:publish"
+        ]
+    },
+    "repositories": {
+        "packagist": {
+            "type": "composer",
+            "url": "https://mirrors.aliyun.com/composer/"
+        }
+    }
+}

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 3123 - 0
composer.lock