1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-05 18:52:44 +01:00

Add PostMark

This commit is contained in:
David Bomba 2021-02-10 08:58:53 +11:00
parent da4c981408
commit 61788b77f1
3 changed files with 45 additions and 46 deletions

View File

@ -64,7 +64,8 @@
"stripe/stripe-php": "^7.50",
"turbo124/beacon": "^1",
"turbo124/laravel-gmail": "^5.0",
"webpatser/laravel-countries": "dev-master#75992ad"
"webpatser/laravel-countries": "dev-master#75992ad",
"wildbit/postmark-php": "^4.0"
},
"require-dev": {
"php": "^7.4",
@ -79,8 +80,7 @@
"mockery/mockery": "^1.3.1",
"nunomaduro/collision": "^5.0",
"phpunit/phpunit": "^9.0",
"vimeo/psalm": "^4.0",
"wildbit/postmark-php": "^4.0"
"vimeo/psalm": "^4.0"
},
"autoload": {
"psr-4": {

78
composer.lock generated
View 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": "49484c0e046a5663433fef2353ee6ee8",
"content-hash": "559255a3f2573bb2598a3f97f926c088",
"packages": [
{
"name": "asgrim/ofxparser",
@ -9735,6 +9735,44 @@
"source": "https://github.com/webpatser/laravel-countries"
},
"time": "2019-07-12T14:06:05+00:00"
},
{
"name": "wildbit/postmark-php",
"version": "4.0.0",
"source": {
"type": "git",
"url": "https://github.com/wildbit/postmark-php.git",
"reference": "136e3d0884411ca23d0bac02470cfa1d14be676c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/wildbit/postmark-php/zipball/136e3d0884411ca23d0bac02470cfa1d14be676c",
"reference": "136e3d0884411ca23d0bac02470cfa1d14be676c",
"shasum": ""
},
"require": {
"guzzlehttp/guzzle": "^6.0|^7.0",
"php": ">=7.0.0"
},
"require-dev": {
"phpunit/phpunit": "^6.0.0"
},
"type": "library",
"autoload": {
"psr-0": {
"Postmark\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "The officially supported client for Postmark (http://postmarkapp.com)",
"support": {
"issues": "https://github.com/wildbit/postmark-php/issues",
"source": "https://github.com/wildbit/postmark-php/tree/4.0.0"
},
"time": "2020-09-10T16:36:51+00:00"
}
],
"packages-dev": [
@ -13629,44 +13667,6 @@
},
"time": "2015-12-17T08:42:14+00:00"
},
{
"name": "wildbit/postmark-php",
"version": "4.0.0",
"source": {
"type": "git",
"url": "https://github.com/wildbit/postmark-php.git",
"reference": "136e3d0884411ca23d0bac02470cfa1d14be676c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/wildbit/postmark-php/zipball/136e3d0884411ca23d0bac02470cfa1d14be676c",
"reference": "136e3d0884411ca23d0bac02470cfa1d14be676c",
"shasum": ""
},
"require": {
"guzzlehttp/guzzle": "^6.0|^7.0",
"php": ">=7.0.0"
},
"require-dev": {
"phpunit/phpunit": "^6.0.0"
},
"type": "library",
"autoload": {
"psr-0": {
"Postmark\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "The officially supported client for Postmark (http://postmarkapp.com)",
"support": {
"issues": "https://github.com/wildbit/postmark-php/issues",
"source": "https://github.com/wildbit/postmark-php/tree/4.0.0"
},
"time": "2020-09-10T16:36:51+00:00"
},
{
"name": "zircote/swagger-php",
"version": "3.1.0",

View File

@ -36,10 +36,9 @@ return [
'gmail' => [
'token' => '',
],
'postmark' => env('POSTMARK_API_TOKEN', ''),
'postmark_ticket' => env('POSTMARK_API_TICKET_TOKEN'),
'postmark_ticket_2' => env('POSTMARK_API_TICKET_TOKEN_2'),
'postmark' => [
'token' => env('POSTMARK_API_TOKEN', ''),
],
'stripe' => [
'model' => App\Models\User::class,
'key' => env('STRIPE_KEY'),