]> _ Git - psq.git/commitdiff
async webhook try
authorLouis Jeckel <louis.jeckel@outlook.cm>
Tue, 14 Apr 2020 15:12:51 +0000 (17:12 +0200)
committerLouis Jeckel <louis.jeckel@outlook.cm>
Tue, 14 Apr 2020 15:12:51 +0000 (17:12 +0200)
.idea/lettre-pharma.iml
.idea/php.xml
app/Http/Controllers/WebhookController.php
composer.json
composer.lock
storage/clockwork/.gitignore [new file with mode: 0644]

index 1e4836cc589c2fb29f4d6cf8f01d3bb237485680..5ecb545b7169f7071d1e3e0558a0d37000bc7428 100644 (file)
@@ -12,6 +12,7 @@
       <excludeFolder url="file://$MODULE_DIR$/vendor/barryvdh/laravel-ide-helper" />
       <excludeFolder url="file://$MODULE_DIR$/vendor/barryvdh/reflection-docblock" />
       <excludeFolder url="file://$MODULE_DIR$/vendor/clue/stream-filter" />
+      <excludeFolder url="file://$MODULE_DIR$/vendor/itsgoingd/clockwork" />
       <excludeFolder url="file://$MODULE_DIR$/vendor/justinrainbow/json-schema" />
       <excludeFolder url="file://$MODULE_DIR$/vendor/kriswallsmith/buzz" />
       <excludeFolder url="file://$MODULE_DIR$/vendor/kub-at/php-simple-html-dom-parser" />
index c17ddcd758fcb96c9c8a3b6b92aa40e58d90ea9a..854870b007751bf5f51481503c2155f7d586d970 100644 (file)
       <path value="$PROJECT_DIR$/vendor/barryvdh/reflection-docblock" />
       <path value="$PROJECT_DIR$/vendor/symfony/filesystem" />
       <path value="$PROJECT_DIR$/vendor/barryvdh/laravel-ide-helper" />
+      <path value="$PROJECT_DIR$/vendor/itsgoingd/clockwork" />
     </include_path>
   </component>
   <component name="PhpProjectSharedConfiguration" php_language_level="7.2" />
index cb802680706c4a54e8c9a7536b52ebb5c31d29c9..e3c9bf84ae31ed912ef56d2be7c31026313588dd 100644 (file)
@@ -28,7 +28,7 @@ class WebhookController extends Controller
             ]
         ];
 
-        event(new DispatchMailgunEvent($data));
+        event(new MailgunWebhook($data));
 
         return response('ok', 200);
 
index a57e2cd3bae2ca0b3dc0c2f5e061c06a535710d7..05812184747f73110835eb4633b4b9446747207c 100644 (file)
@@ -9,12 +9,14 @@
     "license": "MIT",
     "require": {
         "php": "^7.2.5",
+        "ext-dom": "*",
         "ext-json": "*",
         "algolia/algoliasearch-client-php": "^2.6",
         "area17/twill": "^2.0",
         "fideloper/proxy": "^4.2",
         "fruitcake/laravel-cors": "^1.0",
         "guzzlehttp/guzzle": "^6.3",
+        "itsgoingd/clockwork": "^4.1",
         "kriswallsmith/buzz": "^1.1",
         "kub-at/php-simple-html-dom-parser": "^1.9",
         "laravel/framework": "^7.0",
@@ -27,8 +29,7 @@
         "pusher/pusher-php-server": "~4.0",
         "spatie/pdf-to-image": "^2.0",
         "spatie/pdf-to-text": "^1.3",
-        "vaites/php-apache-tika": "^0.9.1",
-      "ext-dom": "*"
+        "vaites/php-apache-tika": "^0.9.1"
     },
     "require-dev": {
         "barryvdh/laravel-debugbar": "^3.2",
index df0c7ea99fa0886aa4e918d592645824768ce467..9e5545eeff6439f3b7a5026f7c4de64761ece2d2 100644 (file)
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "22340b943f2e4f7a75356a529c514ee7",
+    "content-hash": "b53dc867ef2193fc1017ea0794762a36",
     "packages": [
         {
             "name": "algolia/algoliasearch-client-php",
             ],
             "time": "2019-11-02T09:15:47+00:00"
         },
+        {
+            "name": "itsgoingd/clockwork",
+            "version": "v4.1",
+            "source": {
+                "type": "git",
+                "url": "https://github.com/itsgoingd/clockwork.git",
+                "reference": "74f1b4d2d06ce39c333388cb5b1379e1abc66a32"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://api.github.com/repos/itsgoingd/clockwork/zipball/74f1b4d2d06ce39c333388cb5b1379e1abc66a32",
+                "reference": "74f1b4d2d06ce39c333388cb5b1379e1abc66a32",
+                "shasum": ""
+            },
+            "require": {
+                "php": ">=5.5",
+                "psr/log": "1.*"
+            },
+            "type": "library",
+            "extra": {
+                "laravel": {
+                    "providers": [
+                        "Clockwork\\Support\\Laravel\\ClockworkServiceProvider"
+                    ],
+                    "aliases": {
+                        "Clockwork": "Clockwork\\Support\\Laravel\\Facade"
+                    }
+                }
+            },
+            "autoload": {
+                "psr-4": {
+                    "Clockwork\\": "Clockwork/"
+                }
+            },
+            "notification-url": "https://packagist.org/downloads/",
+            "license": [
+                "MIT"
+            ],
+            "authors": [
+                {
+                    "name": "itsgoingd",
+                    "email": "itsgoingd@luzer.sk",
+                    "homepage": "https://twitter.com/itsgoingd"
+                }
+            ],
+            "description": "php dev tools integrated to your browser",
+            "homepage": "https://underground.works/clockwork",
+            "keywords": [
+                "Devtools",
+                "debugging",
+                "laravel",
+                "logging",
+                "lumen",
+                "profiling",
+                "slim"
+            ],
+            "time": "2020-04-06T19:13:31+00:00"
+        },
         {
             "name": "jakub-onderka/php-console-color",
             "version": "v0.2",
     "prefer-lowest": false,
     "platform": {
         "php": "^7.2.5",
-        "ext-json": "*",
-        "ext-dom": "*"
+        "ext-dom": "*",
+        "ext-json": "*"
     },
     "platform-dev": []
 }
diff --git a/storage/clockwork/.gitignore b/storage/clockwork/.gitignore
new file mode 100644 (file)
index 0000000..3fac1bf
--- /dev/null
@@ -0,0 +1,3 @@
+*.json
+*.json.gz
+index