Browse Source

使用appstract/laravel-opcache处理opcache缓存

baijunyao 8 years ago
parent
commit
7517c4dee6
3 changed files with 119 additions and 2 deletions
  1. 1 0
      composer.json
  2. 113 2
      composer.lock
  3. 5 0
      config/app.php

+ 1 - 0
composer.json

@@ -15,6 +15,7 @@
     "type": "project",
     "require": {
         "php": ">=5.6.4",
+        "appstract/laravel-opcache": "^1.2",
         "barryvdh/laravel-debugbar": "^2.4",
         "erusev/parsedown": "^1.6",
         "intervention/image": "^2.3",

+ 113 - 2
composer.lock

@@ -4,9 +4,120 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
         "This file is @generated automatically"
     ],
-    "content-hash": "a02e71b648eb7b3822eb6fcf371ef90e",
+    "content-hash": "58a922f7ec7e2505d65665284fa95016",
     "packages": [
         {
+            "name": "appstract/laravel-opcache",
+            "version": "1.2.3",
+            "source": {
+                "type": "git",
+                "url": "https://github.com/appstract/laravel-opcache.git",
+                "reference": "237cebc7a8af75d564af9bc3a842d0957857f591"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://files.phpcomposer.com/files/appstract/laravel-opcache/237cebc7a8af75d564af9bc3a842d0957857f591.zip",
+                "reference": "237cebc7a8af75d564af9bc3a842d0957857f591",
+                "shasum": ""
+            },
+            "require": {
+                "appstract/lush-http": "^0.2",
+                "illuminate/console": ">=5.1",
+                "illuminate/routing": ">=5.1",
+                "illuminate/support": ">=5.1",
+                "php": ">=5.6"
+            },
+            "require-dev": {
+                "orchestra/testbench": "^3.3",
+                "phpunit/phpunit": "5.*"
+            },
+            "type": "library",
+            "extra": {
+                "laravel": {
+                    "providers": [
+                        "Appstract\\Opcache\\OpcacheServiceProvider"
+                    ]
+                }
+            },
+            "autoload": {
+                "psr-4": {
+                    "Appstract\\Opcache\\": "src"
+                }
+            },
+            "notification-url": "https://packagist.org/downloads/",
+            "license": [
+                "MIT"
+            ],
+            "authors": [
+                {
+                    "name": "Olav van Schie",
+                    "email": "hello@appstract.team",
+                    "homepage": "https://appstract.team",
+                    "role": "Developer"
+                }
+            ],
+            "description": "OPcache helper for Laravel.",
+            "homepage": "https://github.com/appstract/laravel-opcache",
+            "keywords": [
+                "Opcache",
+                "appstract",
+                "laravel",
+                "php"
+            ],
+            "time": "2017-07-28T08:52:23+00:00"
+        },
+        {
+            "name": "appstract/lush-http",
+            "version": "0.2.6",
+            "source": {
+                "type": "git",
+                "url": "https://github.com/appstract/lush-http.git",
+                "reference": "1da5e8f3cd3bd55269fe8bd11822df044a7450a5"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://files.phpcomposer.com/files/appstract/lush-http/1da5e8f3cd3bd55269fe8bd11822df044a7450a5.zip",
+                "reference": "1da5e8f3cd3bd55269fe8bd11822df044a7450a5",
+                "shasum": ""
+            },
+            "require": {
+                "php": ">=5.6"
+            },
+            "require-dev": {
+                "phpunit/phpunit": "^5.7"
+            },
+            "type": "library",
+            "autoload": {
+                "psr-4": {
+                    "Appstract\\LushHttp\\": "src"
+                }
+            },
+            "notification-url": "https://packagist.org/downloads/",
+            "license": [
+                "MIT"
+            ],
+            "authors": [
+                {
+                    "name": "Olav van Schie",
+                    "email": "hello@appstract.team",
+                    "homepage": "https://appstract.team",
+                    "role": "Developer"
+                }
+            ],
+            "description": "Smart Http Client for PHP.",
+            "homepage": "https://github.com/appstract/lush-http",
+            "keywords": [
+                "appstract",
+                "client",
+                "curl",
+                "http",
+                "lush",
+                "lush-http",
+                "php"
+            ],
+            "time": "2017-08-17T21:20:21+00:00"
+        },
+        {
             "name": "barryvdh/laravel-debugbar",
             "version": "v2.4.3",
             "source": {
@@ -728,7 +839,7 @@
                 }
             ],
             "description": "A light weight markdown parser library",
-            "time": "2017-08-02 02:58:53"
+            "time": "2017-08-02T02:58:53+00:00"
         },
         {
             "name": "laravel/framework",

+ 5 - 0
config/app.php

@@ -200,6 +200,11 @@ return [
          * barryvdh/laravel-debugbar  debug工具条
          */
         Barryvdh\Debugbar\ServiceProvider::class,
+
+        /**
+         * appstract/laravel-opcache 命令行操作opcache缓存
+         */
+        Appstract\Opcache\OpcacheServiceProvider::class,
     ],
 
     /*