瀏覽代碼

feat: clockwork debugger

Muhammad Iqbal Afandi 3 年之前
父節點
當前提交
e90dd58f32
共有 4 個文件被更改,包括 74 次插入1 次删除
  1. 1
    0
      composer.json
  2. 69
    1
      composer.lock
  3. 1
    0
      config/app.php
  4. 3
    0
      storage/clockwork/.gitignore

+ 1
- 0
composer.json 查看文件

@@ -13,6 +13,7 @@
13 13
     "fruitcake/laravel-cors": "^2.0.5",
14 14
     "guzzlehttp/guzzle": "^7.2",
15 15
     "inertiajs/inertia-laravel": "^0.5.4",
16
+    "itsgoingd/clockwork": "^5.1",
16 17
     "laravel/framework": "^9.21",
17 18
     "laravel/sanctum": "^2.14",
18 19
     "laravel/tinker": "^2.7",

+ 69
- 1
composer.lock 查看文件

@@ -4,7 +4,7 @@
4 4
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5 5
         "This file is @generated automatically"
6 6
     ],
7
-    "content-hash": "4ab253b7a12095ee7408399e27d25a37",
7
+    "content-hash": "3b66f81b73c08de84700b66e5abec1bc",
8 8
     "packages": [
9 9
         {
10 10
             "name": "asm89/stack-cors",
@@ -1295,6 +1295,74 @@
1295 1295
             ],
1296 1296
             "time": "2022-01-18T10:59:08+00:00"
1297 1297
         },
1298
+        {
1299
+            "name": "itsgoingd/clockwork",
1300
+            "version": "v5.1.6",
1301
+            "source": {
1302
+                "type": "git",
1303
+                "url": "https://github.com/itsgoingd/clockwork.git",
1304
+                "reference": "9df41432da1d8cb39c7fda383ddcc02231c83ff3"
1305
+            },
1306
+            "dist": {
1307
+                "type": "zip",
1308
+                "url": "https://api.github.com/repos/itsgoingd/clockwork/zipball/9df41432da1d8cb39c7fda383ddcc02231c83ff3",
1309
+                "reference": "9df41432da1d8cb39c7fda383ddcc02231c83ff3",
1310
+                "shasum": ""
1311
+            },
1312
+            "require": {
1313
+                "ext-json": "*",
1314
+                "php": ">=5.6"
1315
+            },
1316
+            "type": "library",
1317
+            "extra": {
1318
+                "laravel": {
1319
+                    "providers": [
1320
+                        "Clockwork\\Support\\Laravel\\ClockworkServiceProvider"
1321
+                    ],
1322
+                    "aliases": {
1323
+                        "Clockwork": "Clockwork\\Support\\Laravel\\Facade"
1324
+                    }
1325
+                }
1326
+            },
1327
+            "autoload": {
1328
+                "psr-4": {
1329
+                    "Clockwork\\": "Clockwork/"
1330
+                }
1331
+            },
1332
+            "notification-url": "https://packagist.org/downloads/",
1333
+            "license": [
1334
+                "MIT"
1335
+            ],
1336
+            "authors": [
1337
+                {
1338
+                    "name": "itsgoingd",
1339
+                    "email": "itsgoingd@luzer.sk",
1340
+                    "homepage": "https://twitter.com/itsgoingd"
1341
+                }
1342
+            ],
1343
+            "description": "php dev tools in your browser",
1344
+            "homepage": "https://underground.works/clockwork",
1345
+            "keywords": [
1346
+                "Devtools",
1347
+                "debugging",
1348
+                "laravel",
1349
+                "logging",
1350
+                "lumen",
1351
+                "profiling",
1352
+                "slim"
1353
+            ],
1354
+            "support": {
1355
+                "issues": "https://github.com/itsgoingd/clockwork/issues",
1356
+                "source": "https://github.com/itsgoingd/clockwork/tree/v5.1.6"
1357
+            },
1358
+            "funding": [
1359
+                {
1360
+                    "url": "https://github.com/itsgoingd",
1361
+                    "type": "github"
1362
+                }
1363
+            ],
1364
+            "time": "2022-04-12T21:35:47+00:00"
1365
+        },
1298 1366
         {
1299 1367
             "name": "laravel/framework",
1300 1368
             "version": "v9.21.6",

+ 1
- 0
config/app.php 查看文件

@@ -192,6 +192,7 @@ return [
192 192
 
193 193
     'aliases' => Facade::defaultAliases()->merge([
194 194
         // ...
195
+        'Clockwork' => Clockwork\Support\Laravel\Facade::class,
195 196
     ])->toArray(),
196 197
 
197 198
 ];

+ 3
- 0
storage/clockwork/.gitignore 查看文件

@@ -0,0 +1,3 @@
1
+*.json
2
+*.json.gz
3
+index