You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,12 @@
5
5
[](https://packagist.org/packages/hpwebdeveloper/laravel-pay-pocket)
**Laravel Pay Pocket** is a package designed for Laravel applications, offering the flexibility to manage multiple wallet types within two dedicated database tables, `wallets` and `wallets_logs`.
10
12
11
-
**Note:** This package does not handle payments from payment platforms, but instead offers the concept of virtual money, deposit and withdraw.
13
+
**Note:** This package does not handle payments from payment platforms, but instead offers the concept of virtual money, deposit, and withdrawal.
12
14
13
15
***Author**: Hamed Panjeh
14
16
***Vendor**: hpwebdeveloper
@@ -27,9 +29,7 @@
27
29
| x.x |||||||
28
30
29
31
30
-
## Installation
31
-
32
-
32
+
## Installation:
33
33
34
34
-**Step 1:** You can install the package via composer:
35
35
@@ -57,7 +57,7 @@ This command will automatically publish the `WalletEnums.php` file into your app
57
57
58
58
### Prepare User Model
59
59
60
-
To use this package you need to implements the `WalletOperations` into `User` model and utlize the `ManagesWallet` trait.
60
+
To use this package you need to implement the `WalletOperations` into `User` model and utilize the `ManagesWallet` trait.
61
61
62
62
```php
63
63
@@ -74,7 +74,7 @@ class User extends Authenticatable implements WalletOperations
74
74
75
75
In Laravel Pay Pocket, you have the flexibility to define the order in which wallets are prioritized for payments through the use of Enums. The order of wallets in the Enum file determines their priority level. The first wallet listed has the highest priority and will be used first for deducting order values.
76
76
77
-
For example, consider the following wallet types defined in the Enum class (published in the step 3 of installation):
77
+
For example, consider the following wallet types defined in the Enum class (published in step 3 of installation):
0 commit comments