瀏覽代碼

update readme and composer json

tags/1.0
0nepeop1e 4 年之前
父節點
當前提交
de3835f795
共有 2 個檔案被更改,包括 19 行新增1 行删除
  1. 15
    1
      README.md
  2. 4
    0
      composer.json

+ 15
- 1
README.md 查看文件

@@ -1,3 +1,17 @@
1 1
 # mirfalah/laravel-payment
2 2
 
3
-This library is not complete yet, this is just placeholder
3
+## Installation
4
+Add the following repository to composer.json
5
+```json
6
+{
7
+    "repositories": [
8
+        {
9
+            "type": "composer",
10
+            "url": "https://composer.mirfalah.my"
11
+        }
12
+    ]
13
+}
14
+```
15
+```shell script
16
+composer install mirfalah/laravel-payment ^1.0
17
+```

+ 4
- 0
composer.json 查看文件

@@ -7,6 +7,10 @@
7 7
         "illuminate/support": ">=5.0 <8.0",
8 8
         "illuminate/http": ">=5.0 <8.0"
9 9
     },
10
+    "suggest": {
11
+        "mirfalah/laravel-payment-senangpay": "^1.0",
12
+        "mirfalah/laravel-payment-razerpay": "^1.0"
13
+    },
10 14
     "license": "Mirfalah-Tech",
11 15
     "authors": [
12 16
         {

Loading…
取消
儲存