Browse Source

wesmiler 点什么广告

APPLE 2 years ago
parent
commit
9715cf1e56
9 changed files with 41388 additions and 0 deletions
  1. 43 0
      - 副本 (2).env
  2. 17646 0
      _ide_helper.php
  3. 53 0
      artisan
  4. 84 0
      composer.json
  5. 7049 0
      composer.lock
  6. 16438 0
      package-lock.json
  7. 22 0
      package.json
  8. 38 0
      phpunit.xml
  9. 15 0
      webpack.mix.js

+ 43 - 0
- 副本 (2).env

@@ -0,0 +1,43 @@
+APP_NAME=Laravel
+APP_ENV=dev
+APP_KEY=base64:tpYxmlySr6S6iPUKbvY1NvYHVhsyPdfbfoodD0dxRz4=
+APP_DEBUG=true
+APP_LOG_LEVEL=debug
+APP_URL=http://dian.local
+
+DB_CONNECTION=mysql
+DB_HOST=127.0.0.1
+#DB_HOST=47.106.161.242
+DB_PORT=3306
+DB_DATABASE=10dsm
+DB_USERNAME=10dsm
+#DB_USERNAME=root
+DB_PASSWORD=5NfMyGBX82PjZNHf
+#DB_PASSWORD=root
+DB_PREFIX=zx_
+
+BROADCAST_DRIVER=log
+CACHE_DRIVER=file
+SESSION_DRIVER=file
+SESSION_LIFETIME=120
+QUEUE_DRIVER=redis
+
+REDIS_HOST=127.0.0.1
+REDIS_PASSWORD=
+REDIS_PORT=6379
+
+MAIL_DRIVER=smtp
+MAIL_HOST=smtp.mailtrap.io
+MAIL_PORT=2525
+MAIL_USERNAME=null
+MAIL_PASSWORD=null
+MAIL_ENCRYPTION=null
+
+PUSHER_APP_ID=
+PUSHER_APP_KEY=
+PUSHER_APP_SECRET=
+PUSHER_APP_CLUSTER=mt1
+
+JWT_SECRET=klispZKcxE1GQRBuYCPqsAfj8JGjl4wP
+
+PerPage=10

File diff suppressed because it is too large
+ 17646 - 0
_ide_helper.php


+ 53 - 0
artisan

@@ -0,0 +1,53 @@
+#!/usr/bin/env php
+<?php
+
+define('LARAVEL_START', microtime(true));
+
+/*
+|--------------------------------------------------------------------------
+| Register The Auto Loader
+|--------------------------------------------------------------------------
+|
+| Composer provides a convenient, automatically generated class loader
+| for our application. We just need to utilize it! We'll require it
+| into the script here so that we do not have to worry about the
+| loading of any our classes "manually". Feels great to relax.
+|
+*/
+
+require __DIR__.'/vendor/autoload.php';
+
+$app = require_once __DIR__.'/bootstrap/app.php';
+
+/*
+|--------------------------------------------------------------------------
+| Run The Artisan Application
+|--------------------------------------------------------------------------
+|
+| When we run the console application, the current CLI command will be
+| executed in this console and the response sent back to a terminal
+| or another output device for the developers. Here goes nothing!
+|
+*/
+
+$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
+
+$status = $kernel->handle(
+    $input = new Symfony\Component\Console\Input\ArgvInput,
+    new Symfony\Component\Console\Output\ConsoleOutput
+);
+
+/*
+|--------------------------------------------------------------------------
+| Shutdown The Application
+|--------------------------------------------------------------------------
+|
+| Once Artisan has finished running, we will fire off the shutdown events
+| so that any final work may be done by the application before we shut
+| down the process. This is the last thing to happen to the request.
+|
+*/
+
+$kernel->terminate($input, $status);
+
+exit($status);

+ 84 - 0
composer.json

@@ -0,0 +1,84 @@
+{
+  "name": "laravel/laravel",
+  "description": "The Laravel Framework.",
+  "keywords": [
+    "framework",
+    "laravel"
+  ],
+  "license": "MIT",
+  "type": "project",
+  "require": {
+    "php": ">=7.0.0",
+    "caouecs/laravel-lang": "~3.0",
+    "encore/laravel-admin": "^1.6",
+    "fideloper/proxy": "~3.3",
+    "ixudra/curl": "^6.16",
+    "laravel-admin-ext/backup": "^1.0",
+    "laravel-admin-ext/helpers": "^1.1",
+    "laravel-admin-ext/log-viewer": "^1.0",
+    "laravel-admin-ext/media-manager": "^1.0",
+    "laravel-admin-ext/redis-manager": "^1.0",
+    "laravel/framework": "5.5.*",
+    "laravel/tinker": "~1.0",
+    "predis/predis": "^1.1",
+    "simplesoftwareio/simple-qrcode": "~2",
+    "spatie/laravel-permission": "^2.29",
+    "tymon/jwt-auth": "1.0.0-rc",
+    "yansongda/laravel-pay": "^2.0",
+    "yansongda/pay": "^2.6"
+  },
+  "require-dev": {
+    "barryvdh/laravel-debugbar": "^3.2",
+    "barryvdh/laravel-ide-helper": "^2.5",
+    "doctrine/dbal": " ~2.3",
+    "eaglewu/swoole-ide-helper": "dev-master",
+    "filp/whoops": "~2.0",
+    "fzaninotto/faker": "~1.4",
+    "mockery/mockery": "~1.0",
+    "mpociot/laravel-test-factory-helper": "^0.5.0",
+    "phpunit/phpunit": "~6.0",
+    "symfony/thanks": "^1.0"
+  },
+  "autoload": {
+    "classmap": [
+      "database/seeds",
+      "database/factories",
+      "app/Handle",
+      "tests/TestCase.php"
+    ],
+    "psr-4": {
+      "App\\": "app/"
+    },
+    "files": [
+      "app/Helpers/functions.php"
+    ]
+  },
+  "autoload-dev": {
+    "psr-4": {
+      "Tests\\": "tests/"
+    }
+  },
+  "extra": {
+    "laravel": {
+      "dont-discover": [
+      ]
+    }
+  },
+  "scripts": {
+    "post-root-package-install": [
+      "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
+    ],
+    "post-create-project-cmd": [
+      "@php artisan key:generate"
+    ],
+    "post-autoload-dump": [
+      "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
+      "@php artisan package:discover"
+    ]
+  },
+  "config": {
+    "preferred-install": "dist",
+    "sort-packages": true,
+    "optimize-autoloader": true
+  }
+}

File diff suppressed because it is too large
+ 7049 - 0
composer.lock


File diff suppressed because it is too large
+ 16438 - 0
package-lock.json


+ 22 - 0
package.json

@@ -0,0 +1,22 @@
+{
+    "private": true,
+    "scripts": {
+        "dev": "npm run development",
+        "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
+        "watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
+        "watch-poll": "npm run watch -- --watch-poll",
+        "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
+        "prod": "npm run production",
+        "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
+    },
+    "devDependencies": {
+        "axios": "^0.17",
+        "bootstrap-sass": "^3.3.7",
+        "cross-env": "^5.1",
+        "jquery": "^3.2",
+        "laravel-mix": "^1.0",
+        "lodash": "^4.17.4",
+        "node-sass": "^7.0.1",
+        "vue": "^2.5.7"
+    }
+}

+ 38 - 0
phpunit.xml

@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<phpunit backupGlobals="false"
+         backupStaticAttributes="false"
+         bootstrap="vendor/autoload.php"
+         colors="true"
+         convertErrorsToExceptions="true"
+         convertNoticesToExceptions="true"
+         convertWarningsToExceptions="true"
+         processIsolation="false"
+         stopOnFailure="false">
+    <testsuites>
+        <testsuite name="Feature">
+            <directory suffix="Test.php">./tests/Feature</directory>
+        </testsuite>
+
+        <testsuite name="Unit">
+            <directory suffix="Test.php">./tests/Unit</directory>
+        </testsuite>
+    </testsuites>
+    <filter>
+        <whitelist processUncoveredFilesFromWhitelist="true">
+            <directory suffix=".php">./app</directory>
+        </whitelist>
+    </filter>
+    <php>
+        <env name="APP_ENV" value="testing"/>
+        <env name="CACHE_DRIVER" value="array"/>
+        <env name="SESSION_DRIVER" value="array"/>
+        <env name="QUEUE_DRIVER" value="sync"/>
+        <env name="DB_CONNECTION" value="mysql"/>
+        <env name="DB_HOST" value="192.168.1.186"/>
+        <env name="DB_PORT" value="3306"/>
+        <env name="DB_DATABASE" value="NN19030510"/>
+        <env name="DB_USERNAME" value="mysql"/>
+        <env name="DB_PASSWORD" value="Login@123"/>
+        <env name="DB_PREFIX" value="zx_"/>
+    </php>
+</phpunit>

+ 15 - 0
webpack.mix.js

@@ -0,0 +1,15 @@
+let mix = require('laravel-mix');
+
+/*
+ |--------------------------------------------------------------------------
+ | Mix Asset Management
+ |--------------------------------------------------------------------------
+ |
+ | Mix provides a clean, fluent API for defining some Webpack build steps
+ | for your Laravel application. By default, we are compiling the Sass
+ | file for the application as well as bundling up all the JS files.
+ |
+ */
+
+mix.js('resources/assets/js/app.js', 'public/js')
+   .sass('resources/assets/sass/app.scss', 'public/css');