Skip to content

Commit 7ffa2d4

Browse files
authored
Merge pull request #21 from ahoshaiyan/add-new-payment-params
Add new payment source parameters and Apple Pay source.
2 parents 8bf9459 + b83f476 commit 7ffa2d4

13 files changed

+1458
-482
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2020 Moyasar
3+
Copyright (c) 2021 Moyasar
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

composer.json

+74-73
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,79 @@
11
{
2-
"name": "moyasar/moyasar",
3-
"description": "PHP/Laravel wrapper library for Moyasar payment services",
4-
"keywords": [
5-
"moyasar",
6-
"payment",
7-
"invoice",
8-
"pay",
9-
"refund",
10-
"visa",
11-
"mada",
12-
"master",
13-
"card",
14-
"sadad",
15-
"laravel",
16-
"apple",
17-
"pay",
18-
"capture",
19-
"void",
20-
"credit"
21-
],
22-
"type": "library",
23-
"license": "MIT",
24-
"prefer-stable": true,
25-
"minimum-stability": "dev",
26-
"authors": [
27-
{
28-
"name": "Ali Alhoshaiyan",
29-
"email": "alialhoshaiyan@gmail.com"
2+
"name": "moyasar/moyasar",
3+
"description": "PHP/Laravel wrapper library for Moyasar payment services",
4+
"keywords": [
5+
"moyasar",
6+
"payment",
7+
"invoice",
8+
"pay",
9+
"refund",
10+
"visa",
11+
"mada",
12+
"master",
13+
"card",
14+
"sadad",
15+
"laravel",
16+
"apple",
17+
"pay",
18+
"capture",
19+
"void",
20+
"credit"
21+
],
22+
"type": "library",
23+
"license": "MIT",
24+
"prefer-stable": true,
25+
"minimum-stability": "dev",
26+
"authors": [
27+
{
28+
"name": "Ali Alhoshaiyan",
29+
"email": "alialhoshaiyan@gmail.com"
30+
},
31+
{
32+
"name": "Sohib H Algotimel",
33+
"email": "s@sgh.sa",
34+
"homepage": "https://sgh.sa"
35+
},
36+
{
37+
"name": "Moyasar Development Team",
38+
"email": "developers@moyasar.com",
39+
"homepage": "https://moyasar.com/"
40+
}
41+
],
42+
"require": {
43+
"php": "^7.2|^8.0",
44+
"guzzlehttp/guzzle": "^6.3|^7.0",
45+
"ext-json": "*"
3046
},
31-
{
32-
"name": "Sohib H Algotimel",
33-
"email": "s@sgh.sa",
34-
"homepage": "https://sgh.sa"
47+
"require-dev": {
48+
"phpunit/phpunit": "^8.5.19|^9.5.8",
49+
"mockery/mockery": "^1.2.4"
3550
},
36-
{
37-
"name": "Moyasar Development Team",
38-
"email": "developers@moyasar.com",
39-
"homepage": "https://moyasar.com/"
40-
}
41-
],
42-
"require": {
43-
"guzzlehttp/guzzle": "^6.3|^7.0",
44-
"ext-json": "*"
45-
},
46-
"require-dev": {
47-
"phpunit/phpunit": "5.7.27",
48-
"mockery/mockery": "1.2.4"
49-
},
50-
"suggest": {
51-
"laravel/framework": "Allows Moyasar payment services to be auto injected into current app container"
52-
},
53-
"autoload": {
54-
"psr-4": {
55-
"Moyasar\\": "src/"
56-
}
57-
},
58-
"autoload-dev": {
59-
"psr-4": {
60-
"Tests\\": "tests/"
61-
}
62-
},
63-
"extra": {
64-
"laravel": {
65-
"aliases": {
66-
"Payment": "Moyasar\\Facades\\Payment",
67-
"Invoice": "Moyasar\\Facades\\Invoice"
68-
},
69-
"providers": [
70-
"Moyasar\\Providers\\LaravelServiceProvider"
71-
]
51+
"suggest": {
52+
"laravel/framework": "Allows Moyasar payment services to be auto injected into current app container"
53+
},
54+
"autoload": {
55+
"psr-4": {
56+
"Moyasar\\": "src/"
57+
}
58+
},
59+
"autoload-dev": {
60+
"psr-4": {
61+
"Tests\\": "tests/"
62+
}
63+
},
64+
"extra": {
65+
"laravel": {
66+
"aliases": {
67+
"Payment": "Moyasar\\Facades\\Payment",
68+
"Invoice": "Moyasar\\Facades\\Invoice"
69+
},
70+
"providers": [
71+
"Moyasar\\Providers\\LaravelServiceProvider"
72+
]
73+
}
74+
},
75+
"scripts": {
76+
"test": "phpunit --colors=always",
77+
"test:ci": "composer test -- --verbose --coverage-text --coverage-clover=coverage.xml"
7278
}
73-
},
74-
"scripts": {
75-
"test": "phpunit --colors=always",
76-
"test:ci": "composer test -- --verbose --coverage-text --coverage-clover=coverage.xml"
77-
}
7879
}

0 commit comments

Comments
 (0)