李帅

1.集成邮件发送

...@@ -50,3 +50,5 @@ PUSHER_APP_CLUSTER=mt1 ...@@ -50,3 +50,5 @@ PUSHER_APP_CLUSTER=mt1
50 50
51 MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" 51 MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
52 MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" 52 MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
53 +
54 +SENDGRID_API_KEY=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
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -44,8 +44,7 @@ class SendVerificationMessage implements ShouldQueue ...@@ -44,8 +44,7 @@ class SendVerificationMessage implements ShouldQueue
44 44
45 $redis->setex($this->email,1800,$code); //过期时间30分钟 45 $redis->setex($this->email,1800,$code); //过期时间30分钟
46 46
47 - 47 + /*$api = 'http://api.sendcloud.net/apiv2/mail/sendtemplate';
48 - $api = 'http://api.sendcloud.net/apiv2/mail/sendtemplate';
49 $API_USER = 'mofunsky_noreply'; 48 $API_USER = 'mofunsky_noreply';
50 $API_KEY = '8EkR0XnMuJn6V5yQ'; 49 $API_KEY = '8EkR0XnMuJn6V5yQ';
51 $from = 'noreply@yiyan.pub'; 50 $from = 'noreply@yiyan.pub';
...@@ -81,7 +80,21 @@ class SendVerificationMessage implements ShouldQueue ...@@ -81,7 +80,21 @@ class SendVerificationMessage implements ShouldQueue
81 80
82 // 用开发模板发送。 81 // 用开发模板发送。
83 Mail::to($this->email)->send(new SendVerifyCode($code)); 82 Mail::to($this->email)->send(new SendVerifyCode($code));
83 + }*/
84 +
85 + $email = new \SendGrid\Mail\Mail();
86 + $email->setFrom("hello@parlando.ink", "Parlando");
87 + $email->addTo($this->email, "Parlando User");
88 + $email->addContent(
89 + "text/html", "Please enter in the verification code input box: <strong>$code</strong><br/>(The code will expire in 30 minutes.)"
90 + );
91 + $sendgrid = new \SendGrid(env('SENDGRID_API_KEY'));
92 + try {
93 + $sendgrid->send($email);
94 + } catch (\Exception $e) {
95 + Log::channel("daily")->error("send email error :".$e->getMessage());
84 } 96 }
85 97
98 +
86 } 99 }
87 } 100 }
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
18 "laravel/sanctum": "^2.11", 18 "laravel/sanctum": "^2.11",
19 "laravel/socialite": "^5.2", 19 "laravel/socialite": "^5.2",
20 "laravel/tinker": "^2.5", 20 "laravel/tinker": "^2.5",
21 + "sendgrid/sendgrid": "~7",
21 "socialiteproviders/apple": "^5.0", 22 "socialiteproviders/apple": "^5.0",
22 "socialiteproviders/facebook": "^4.1", 23 "socialiteproviders/facebook": "^4.1",
23 "socialiteproviders/github": "^4.1", 24 "socialiteproviders/github": "^4.1",
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
4 "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", 4 "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5 "This file is @generated automatically" 5 "This file is @generated automatically"
6 ], 6 ],
7 - "content-hash": "c97a5197359075d72fd7f730e4caa9c2", 7 + "content-hash": "7fe74b80f1988a671ddf33822eab5185",
8 "packages": [ 8 "packages": [
9 { 9 {
10 "name": "asm89/stack-cors", 10 "name": "asm89/stack-cors",
...@@ -1211,6 +1211,197 @@ ...@@ -1211,6 +1211,197 @@
1211 "time": "2021-04-26T11:24:25+00:00" 1211 "time": "2021-04-26T11:24:25+00:00"
1212 }, 1212 },
1213 { 1213 {
1214 + "name": "google/apiclient",
1215 + "version": "v2.12.1",
1216 + "source": {
1217 + "type": "git",
1218 + "url": "https://github.com/googleapis/google-api-php-client.git",
1219 + "reference": "1530583a711f4414407112c4068464bcbace1c71"
1220 + },
1221 + "dist": {
1222 + "type": "zip",
1223 + "url": "https://api.github.com/repos/googleapis/google-api-php-client/zipball/1530583a711f4414407112c4068464bcbace1c71",
1224 + "reference": "1530583a711f4414407112c4068464bcbace1c71",
1225 + "shasum": "",
1226 + "mirrors": [
1227 + {
1228 + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
1229 + "preferred": true
1230 + }
1231 + ]
1232 + },
1233 + "require": {
1234 + "firebase/php-jwt": "~2.0||~3.0||~4.0||~5.0",
1235 + "google/apiclient-services": "~0.200",
1236 + "google/auth": "^1.10",
1237 + "guzzlehttp/guzzle": "~5.3.3||~6.0||~7.0",
1238 + "guzzlehttp/psr7": "^1.7||^2.0.0",
1239 + "monolog/monolog": "^1.17||^2.0",
1240 + "php": "^5.6|^7.0|^8.0",
1241 + "phpseclib/phpseclib": "~2.0||^3.0.2"
1242 + },
1243 + "require-dev": {
1244 + "cache/filesystem-adapter": "^0.3.2|^1.1",
1245 + "composer/composer": "^1.10.22",
1246 + "dealerdirect/phpcodesniffer-composer-installer": "^0.7",
1247 + "phpcompatibility/php-compatibility": "^9.2",
1248 + "phpspec/prophecy-phpunit": "^1.1||^2.0",
1249 + "phpunit/phpunit": "^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
1250 + "squizlabs/php_codesniffer": "~2.3",
1251 + "symfony/css-selector": "~2.1",
1252 + "symfony/dom-crawler": "~2.1",
1253 + "yoast/phpunit-polyfills": "^1.0"
1254 + },
1255 + "suggest": {
1256 + "cache/filesystem-adapter": "For caching certs and tokens (using Google\\Client::setCache)"
1257 + },
1258 + "type": "library",
1259 + "extra": {
1260 + "branch-alias": {
1261 + "dev-main": "2.x-dev"
1262 + }
1263 + },
1264 + "autoload": {
1265 + "files": [
1266 + "src/aliases.php"
1267 + ],
1268 + "psr-4": {
1269 + "Google\\": "src/"
1270 + },
1271 + "classmap": [
1272 + "src/aliases.php"
1273 + ]
1274 + },
1275 + "notification-url": "https://packagist.org/downloads/",
1276 + "license": [
1277 + "Apache-2.0"
1278 + ],
1279 + "description": "Client library for Google APIs",
1280 + "homepage": "http://developers.google.com/api-client-library/php",
1281 + "keywords": [
1282 + "google"
1283 + ],
1284 + "support": {
1285 + "issues": "https://github.com/googleapis/google-api-php-client/issues",
1286 + "source": "https://github.com/googleapis/google-api-php-client/tree/v2.12.1"
1287 + },
1288 + "time": "2021-12-02T03:34:25+00:00"
1289 + },
1290 + {
1291 + "name": "google/apiclient-services",
1292 + "version": "v0.299.0",
1293 + "source": {
1294 + "type": "git",
1295 + "url": "https://github.com/googleapis/google-api-php-client-services.git",
1296 + "reference": "cb6495dd548c6fc88133177fde3888ce9dcaabdd"
1297 + },
1298 + "dist": {
1299 + "type": "zip",
1300 + "url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/cb6495dd548c6fc88133177fde3888ce9dcaabdd",
1301 + "reference": "cb6495dd548c6fc88133177fde3888ce9dcaabdd",
1302 + "shasum": "",
1303 + "mirrors": [
1304 + {
1305 + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
1306 + "preferred": true
1307 + }
1308 + ]
1309 + },
1310 + "require": {
1311 + "php": ">=5.6"
1312 + },
1313 + "require-dev": {
1314 + "phpunit/phpunit": "^5.7||^8.5.13"
1315 + },
1316 + "type": "library",
1317 + "autoload": {
1318 + "files": [
1319 + "autoload.php"
1320 + ],
1321 + "psr-4": {
1322 + "Google\\Service\\": "src"
1323 + }
1324 + },
1325 + "notification-url": "https://packagist.org/downloads/",
1326 + "license": [
1327 + "Apache-2.0"
1328 + ],
1329 + "description": "Client library for Google APIs",
1330 + "homepage": "http://developers.google.com/api-client-library/php",
1331 + "keywords": [
1332 + "google"
1333 + ],
1334 + "support": {
1335 + "issues": "https://github.com/googleapis/google-api-php-client-services/issues",
1336 + "source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.299.0"
1337 + },
1338 + "time": "2023-05-06T01:04:14+00:00"
1339 + },
1340 + {
1341 + "name": "google/auth",
1342 + "version": "v1.26.0",
1343 + "source": {
1344 + "type": "git",
1345 + "url": "https://github.com/googleapis/google-auth-library-php.git",
1346 + "reference": "f1f0d0319e2e7750ebfaa523c78819792a9ed9f7"
1347 + },
1348 + "dist": {
1349 + "type": "zip",
1350 + "url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/f1f0d0319e2e7750ebfaa523c78819792a9ed9f7",
1351 + "reference": "f1f0d0319e2e7750ebfaa523c78819792a9ed9f7",
1352 + "shasum": "",
1353 + "mirrors": [
1354 + {
1355 + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
1356 + "preferred": true
1357 + }
1358 + ]
1359 + },
1360 + "require": {
1361 + "firebase/php-jwt": "^5.5||^6.0",
1362 + "guzzlehttp/guzzle": "^6.2.1|^7.0",
1363 + "guzzlehttp/psr7": "^1.7|^2.0",
1364 + "php": "^7.1||^8.0",
1365 + "psr/cache": "^1.0|^2.0|^3.0",
1366 + "psr/http-message": "^1.0"
1367 + },
1368 + "require-dev": {
1369 + "guzzlehttp/promises": "0.1.1|^1.3",
1370 + "kelvinmo/simplejwt": "0.7.0",
1371 + "phpseclib/phpseclib": "^2.0.31||^3.0",
1372 + "phpspec/prophecy-phpunit": "^1.1||^2.0",
1373 + "phpunit/phpunit": "^7.5||^9.0.0",
1374 + "sebastian/comparator": ">=1.2.3",
1375 + "squizlabs/php_codesniffer": "^3.5"
1376 + },
1377 + "suggest": {
1378 + "phpseclib/phpseclib": "May be used in place of OpenSSL for signing strings or for token management. Please require version ^2."
1379 + },
1380 + "type": "library",
1381 + "autoload": {
1382 + "psr-4": {
1383 + "Google\\Auth\\": "src"
1384 + }
1385 + },
1386 + "notification-url": "https://packagist.org/downloads/",
1387 + "license": [
1388 + "Apache-2.0"
1389 + ],
1390 + "description": "Google Auth Library for PHP",
1391 + "homepage": "http://github.com/google/google-auth-library-php",
1392 + "keywords": [
1393 + "Authentication",
1394 + "google",
1395 + "oauth2"
1396 + ],
1397 + "support": {
1398 + "docs": "https://googleapis.github.io/google-auth-library-php/main/",
1399 + "issues": "https://github.com/googleapis/google-auth-library-php/issues",
1400 + "source": "https://github.com/googleapis/google-auth-library-php/tree/v1.26.0"
1401 + },
1402 + "time": "2023-04-05T15:11:57+00:00"
1403 + },
1404 + {
1214 "name": "graham-campbell/result-type", 1405 "name": "graham-campbell/result-type",
1215 "version": "v1.0.4", 1406 "version": "v1.0.4",
1216 "source": { 1407 "source": {
...@@ -3469,6 +3660,135 @@ ...@@ -3469,6 +3660,135 @@
3469 "time": "2021-04-09T13:42:10+00:00" 3660 "time": "2021-04-09T13:42:10+00:00"
3470 }, 3661 },
3471 { 3662 {
3663 + "name": "paragonie/constant_time_encoding",
3664 + "version": "v2.6.3",
3665 + "source": {
3666 + "type": "git",
3667 + "url": "https://github.com/paragonie/constant_time_encoding.git",
3668 + "reference": "58c3f47f650c94ec05a151692652a868995d2938"
3669 + },
3670 + "dist": {
3671 + "type": "zip",
3672 + "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/58c3f47f650c94ec05a151692652a868995d2938",
3673 + "reference": "58c3f47f650c94ec05a151692652a868995d2938",
3674 + "shasum": "",
3675 + "mirrors": [
3676 + {
3677 + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
3678 + "preferred": true
3679 + }
3680 + ]
3681 + },
3682 + "require": {
3683 + "php": "^7|^8"
3684 + },
3685 + "require-dev": {
3686 + "phpunit/phpunit": "^6|^7|^8|^9",
3687 + "vimeo/psalm": "^1|^2|^3|^4"
3688 + },
3689 + "type": "library",
3690 + "autoload": {
3691 + "psr-4": {
3692 + "ParagonIE\\ConstantTime\\": "src/"
3693 + }
3694 + },
3695 + "notification-url": "https://packagist.org/downloads/",
3696 + "license": [
3697 + "MIT"
3698 + ],
3699 + "authors": [
3700 + {
3701 + "name": "Paragon Initiative Enterprises",
3702 + "email": "security@paragonie.com",
3703 + "homepage": "https://paragonie.com",
3704 + "role": "Maintainer"
3705 + },
3706 + {
3707 + "name": "Steve 'Sc00bz' Thomas",
3708 + "email": "steve@tobtu.com",
3709 + "homepage": "https://www.tobtu.com",
3710 + "role": "Original Developer"
3711 + }
3712 + ],
3713 + "description": "Constant-time Implementations of RFC 4648 Encoding (Base-64, Base-32, Base-16)",
3714 + "keywords": [
3715 + "base16",
3716 + "base32",
3717 + "base32_decode",
3718 + "base32_encode",
3719 + "base64",
3720 + "base64_decode",
3721 + "base64_encode",
3722 + "bin2hex",
3723 + "encoding",
3724 + "hex",
3725 + "hex2bin",
3726 + "rfc4648"
3727 + ],
3728 + "support": {
3729 + "email": "info@paragonie.com",
3730 + "issues": "https://github.com/paragonie/constant_time_encoding/issues",
3731 + "source": "https://github.com/paragonie/constant_time_encoding"
3732 + },
3733 + "time": "2022-06-14T06:56:20+00:00"
3734 + },
3735 + {
3736 + "name": "paragonie/random_compat",
3737 + "version": "v9.99.100",
3738 + "source": {
3739 + "type": "git",
3740 + "url": "https://github.com/paragonie/random_compat.git",
3741 + "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a"
3742 + },
3743 + "dist": {
3744 + "type": "zip",
3745 + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/996434e5492cb4c3edcb9168db6fbb1359ef965a",
3746 + "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a",
3747 + "shasum": "",
3748 + "mirrors": [
3749 + {
3750 + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
3751 + "preferred": true
3752 + }
3753 + ]
3754 + },
3755 + "require": {
3756 + "php": ">= 7"
3757 + },
3758 + "require-dev": {
3759 + "phpunit/phpunit": "4.*|5.*",
3760 + "vimeo/psalm": "^1"
3761 + },
3762 + "suggest": {
3763 + "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes."
3764 + },
3765 + "type": "library",
3766 + "notification-url": "https://packagist.org/downloads/",
3767 + "license": [
3768 + "MIT"
3769 + ],
3770 + "authors": [
3771 + {
3772 + "name": "Paragon Initiative Enterprises",
3773 + "email": "security@paragonie.com",
3774 + "homepage": "https://paragonie.com"
3775 + }
3776 + ],
3777 + "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7",
3778 + "keywords": [
3779 + "csprng",
3780 + "polyfill",
3781 + "pseudorandom",
3782 + "random"
3783 + ],
3784 + "support": {
3785 + "email": "info@paragonie.com",
3786 + "issues": "https://github.com/paragonie/random_compat/issues",
3787 + "source": "https://github.com/paragonie/random_compat"
3788 + },
3789 + "time": "2020-10-15T08:29:30+00:00"
3790 + },
3791 + {
3472 "name": "phpoption/phpoption", 3792 "name": "phpoption/phpoption",
3473 "version": "1.8.1", 3793 "version": "1.8.1",
3474 "source": { 3794 "source": {
...@@ -3546,6 +3866,122 @@ ...@@ -3546,6 +3866,122 @@
3546 "time": "2021-12-04T23:24:31+00:00" 3866 "time": "2021-12-04T23:24:31+00:00"
3547 }, 3867 },
3548 { 3868 {
3869 + "name": "phpseclib/phpseclib",
3870 + "version": "3.0.19",
3871 + "source": {
3872 + "type": "git",
3873 + "url": "https://github.com/phpseclib/phpseclib.git",
3874 + "reference": "cc181005cf548bfd8a4896383bb825d859259f95"
3875 + },
3876 + "dist": {
3877 + "type": "zip",
3878 + "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/cc181005cf548bfd8a4896383bb825d859259f95",
3879 + "reference": "cc181005cf548bfd8a4896383bb825d859259f95",
3880 + "shasum": "",
3881 + "mirrors": [
3882 + {
3883 + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
3884 + "preferred": true
3885 + }
3886 + ]
3887 + },
3888 + "require": {
3889 + "paragonie/constant_time_encoding": "^1|^2",
3890 + "paragonie/random_compat": "^1.4|^2.0|^9.99.99",
3891 + "php": ">=5.6.1"
3892 + },
3893 + "require-dev": {
3894 + "phpunit/phpunit": "*"
3895 + },
3896 + "suggest": {
3897 + "ext-dom": "Install the DOM extension to load XML formatted public keys.",
3898 + "ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.",
3899 + "ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.",
3900 + "ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.",
3901 + "ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations."
3902 + },
3903 + "type": "library",
3904 + "autoload": {
3905 + "files": [
3906 + "phpseclib/bootstrap.php"
3907 + ],
3908 + "psr-4": {
3909 + "phpseclib3\\": "phpseclib/"
3910 + }
3911 + },
3912 + "notification-url": "https://packagist.org/downloads/",
3913 + "license": [
3914 + "MIT"
3915 + ],
3916 + "authors": [
3917 + {
3918 + "name": "Jim Wigginton",
3919 + "email": "terrafrost@php.net",
3920 + "role": "Lead Developer"
3921 + },
3922 + {
3923 + "name": "Patrick Monnerat",
3924 + "email": "pm@datasphere.ch",
3925 + "role": "Developer"
3926 + },
3927 + {
3928 + "name": "Andreas Fischer",
3929 + "email": "bantu@phpbb.com",
3930 + "role": "Developer"
3931 + },
3932 + {
3933 + "name": "Hans-Jürgen Petrich",
3934 + "email": "petrich@tronic-media.com",
3935 + "role": "Developer"
3936 + },
3937 + {
3938 + "name": "Graham Campbell",
3939 + "email": "graham@alt-three.com",
3940 + "role": "Developer"
3941 + }
3942 + ],
3943 + "description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.",
3944 + "homepage": "http://phpseclib.sourceforge.net",
3945 + "keywords": [
3946 + "BigInteger",
3947 + "aes",
3948 + "asn.1",
3949 + "asn1",
3950 + "blowfish",
3951 + "crypto",
3952 + "cryptography",
3953 + "encryption",
3954 + "rsa",
3955 + "security",
3956 + "sftp",
3957 + "signature",
3958 + "signing",
3959 + "ssh",
3960 + "twofish",
3961 + "x.509",
3962 + "x509"
3963 + ],
3964 + "support": {
3965 + "issues": "https://github.com/phpseclib/phpseclib/issues",
3966 + "source": "https://github.com/phpseclib/phpseclib/tree/3.0.19"
3967 + },
3968 + "funding": [
3969 + {
3970 + "url": "https://github.com/terrafrost",
3971 + "type": "github"
3972 + },
3973 + {
3974 + "url": "https://www.patreon.com/phpseclib",
3975 + "type": "patreon"
3976 + },
3977 + {
3978 + "url": "https://tidelift.com/funding/github/packagist/phpseclib/phpseclib",
3979 + "type": "tidelift"
3980 + }
3981 + ],
3982 + "time": "2023-03-05T17:13:09+00:00"
3983 + },
3984 + {
3549 "name": "psr/cache", 3985 "name": "psr/cache",
3550 "version": "3.0.0", 3986 "version": "3.0.0",
3551 "source": { 3987 "source": {
...@@ -4322,6 +4758,147 @@ ...@@ -4322,6 +4758,147 @@
4322 "time": "2021-09-25T23:10:38+00:00" 4758 "time": "2021-09-25T23:10:38+00:00"
4323 }, 4759 },
4324 { 4760 {
4761 + "name": "sendgrid/php-http-client",
4762 + "version": "3.14.4",
4763 + "source": {
4764 + "type": "git",
4765 + "url": "https://github.com/sendgrid/php-http-client.git",
4766 + "reference": "6d589564522be290c7d7c18e51bcd8b03aeaf0b6"
4767 + },
4768 + "dist": {
4769 + "type": "zip",
4770 + "url": "https://api.github.com/repos/sendgrid/php-http-client/zipball/6d589564522be290c7d7c18e51bcd8b03aeaf0b6",
4771 + "reference": "6d589564522be290c7d7c18e51bcd8b03aeaf0b6",
4772 + "shasum": "",
4773 + "mirrors": [
4774 + {
4775 + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
4776 + "preferred": true
4777 + }
4778 + ]
4779 + },
4780 + "require": {
4781 + "ext-curl": "*",
4782 + "ext-json": "*",
4783 + "ext-mbstring": "*",
4784 + "php": ">=5.6"
4785 + },
4786 + "require-dev": {
4787 + "friendsofphp/php-cs-fixer": "^2.16",
4788 + "phpunit/phpunit": "^5.7 || ^6.5",
4789 + "sebastian/version": "^1.0.6",
4790 + "squizlabs/php_codesniffer": "~2.0"
4791 + },
4792 + "suggest": {
4793 + "composer/ca-bundle": "Including this library will ensure that a valid CA bundle is available for secure connections"
4794 + },
4795 + "type": "library",
4796 + "autoload": {
4797 + "psr-4": {
4798 + "SendGrid\\": "lib/"
4799 + }
4800 + },
4801 + "notification-url": "https://packagist.org/downloads/",
4802 + "license": [
4803 + "MIT"
4804 + ],
4805 + "authors": [
4806 + {
4807 + "name": "Matt Bernier",
4808 + "email": "mbernier@twilio.com"
4809 + },
4810 + {
4811 + "name": "Elmer Thomas",
4812 + "email": "ethomas@twilio.com"
4813 + }
4814 + ],
4815 + "description": "HTTP REST client, simplified for PHP",
4816 + "homepage": "http://github.com/sendgrid/php-http-client",
4817 + "keywords": [
4818 + "api",
4819 + "fluent",
4820 + "http",
4821 + "rest",
4822 + "sendgrid"
4823 + ],
4824 + "support": {
4825 + "issues": "https://github.com/sendgrid/php-http-client/issues",
4826 + "source": "https://github.com/sendgrid/php-http-client/tree/3.14.4"
4827 + },
4828 + "time": "2022-03-09T20:21:55+00:00"
4829 + },
4830 + {
4831 + "name": "sendgrid/sendgrid",
4832 + "version": "7.11.5",
4833 + "source": {
4834 + "type": "git",
4835 + "url": "https://github.com/sendgrid/sendgrid-php.git",
4836 + "reference": "1d2fd3b72687fe82264853a8888b014f8f99e81f"
4837 + },
4838 + "dist": {
4839 + "type": "zip",
4840 + "url": "https://api.github.com/repos/sendgrid/sendgrid-php/zipball/1d2fd3b72687fe82264853a8888b014f8f99e81f",
4841 + "reference": "1d2fd3b72687fe82264853a8888b014f8f99e81f",
4842 + "shasum": "",
4843 + "mirrors": [
4844 + {
4845 + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
4846 + "preferred": true
4847 + }
4848 + ]
4849 + },
4850 + "require": {
4851 + "ext-curl": "*",
4852 + "ext-json": "*",
4853 + "ext-mbstring": "*",
4854 + "ext-openssl": "*",
4855 + "php": ">=5.6",
4856 + "sendgrid/php-http-client": "~3.10",
4857 + "starkbank/ecdsa": "0.*"
4858 + },
4859 + "replace": {
4860 + "sendgrid/sendgrid-php": "*"
4861 + },
4862 + "require-dev": {
4863 + "phpunit/phpunit": "^5.7.9 || ^6.4.3",
4864 + "squizlabs/php_codesniffer": "3.*",
4865 + "swaggest/json-diff": "^3.4"
4866 + },
4867 + "type": "library",
4868 + "autoload": {
4869 + "psr-4": {
4870 + "SendGrid\\Mail\\": "lib/mail/",
4871 + "SendGrid\\Stats\\": "lib/stats/",
4872 + "SendGrid\\Helper\\": "lib/helper/",
4873 + "SendGrid\\Contacts\\": "lib/contacts/",
4874 + "SendGrid\\EventWebhook\\": "lib/eventwebhook/"
4875 + },
4876 + "classmap": [
4877 + "lib/BaseSendGridClientInterface.php",
4878 + "lib/SendGrid.php",
4879 + "lib/TwilioEmail.php"
4880 + ]
4881 + },
4882 + "notification-url": "https://packagist.org/downloads/",
4883 + "license": [
4884 + "MIT"
4885 + ],
4886 + "description": "This library allows you to quickly and easily send emails through Twilio SendGrid using PHP.",
4887 + "homepage": "http://github.com/sendgrid/sendgrid-php",
4888 + "keywords": [
4889 + "email",
4890 + "grid",
4891 + "send",
4892 + "sendgrid",
4893 + "twilio sendgrid"
4894 + ],
4895 + "support": {
4896 + "issues": "https://github.com/sendgrid/sendgrid-php/issues",
4897 + "source": "https://github.com/sendgrid/sendgrid-php/tree/7.11.5"
4898 + },
4899 + "time": "2022-03-09T20:21:56+00:00"
4900 + },
4901 + {
4325 "name": "socialiteproviders/apple", 4902 "name": "socialiteproviders/apple",
4326 "version": "5.0.3", 4903 "version": "5.0.3",
4327 "source": { 4904 "source": {
...@@ -4867,6 +5444,55 @@ ...@@ -4867,6 +5444,55 @@
4867 "time": "2021-12-18T20:33:51+00:00" 5444 "time": "2021-12-18T20:33:51+00:00"
4868 }, 5445 },
4869 { 5446 {
5447 + "name": "starkbank/ecdsa",
5448 + "version": "0.0.5",
5449 + "source": {
5450 + "type": "git",
5451 + "url": "https://github.com/starkbank/ecdsa-php.git",
5452 + "reference": "484bedac47bac4012dc73df91da221f0a66845cb"
5453 + },
5454 + "dist": {
5455 + "type": "zip",
5456 + "url": "https://api.github.com/repos/starkbank/ecdsa-php/zipball/484bedac47bac4012dc73df91da221f0a66845cb",
5457 + "reference": "484bedac47bac4012dc73df91da221f0a66845cb",
5458 + "shasum": "",
5459 + "mirrors": [
5460 + {
5461 + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
5462 + "preferred": true
5463 + }
5464 + ]
5465 + },
5466 + "require": {
5467 + "php": ">=5.5"
5468 + },
5469 + "type": "library",
5470 + "autoload": {
5471 + "files": [
5472 + "src/ellipticcurve.php"
5473 + ]
5474 + },
5475 + "notification-url": "https://packagist.org/downloads/",
5476 + "license": [
5477 + "MIT"
5478 + ],
5479 + "authors": [
5480 + {
5481 + "name": "StarkBank",
5482 + "email": "developers@starkbank.com",
5483 + "homepage": "https://starkbank.com",
5484 + "role": "Developer"
5485 + }
5486 + ],
5487 + "description": "fast openSSL-compatible implementation of the Elliptic Curve Digital Signature Algorithm (ECDSA)",
5488 + "homepage": "https://github.com/starkbank/ecdsa-php",
5489 + "support": {
5490 + "issues": "https://github.com/starkbank/ecdsa-php/issues",
5491 + "source": "https://github.com/starkbank/ecdsa-php/tree/v0.0.5"
5492 + },
5493 + "time": "2021-06-06T22:24:49+00:00"
5494 + },
5495 + {
4870 "name": "swiftmailer/swiftmailer", 5496 "name": "swiftmailer/swiftmailer",
4871 "version": "v6.3.0", 5497 "version": "v6.3.0",
4872 "source": { 5498 "source": {
...@@ -10337,5 +10963,5 @@ ...@@ -10337,5 +10963,5 @@
10337 "php": "^7.3|^8.0" 10963 "php": "^7.3|^8.0"
10338 }, 10964 },
10339 "platform-dev": [], 10965 "platform-dev": [],
10340 - "plugin-api-version": "2.1.0" 10966 + "plugin-api-version": "2.3.0"
10341 } 10967 }
......