Skip to content

Commit fdeca00

Browse files
Update readme
1 parent 3966193 commit fdeca00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/hpwebdeveloper/laravel-pay-pocket/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/hpwebdeveloper/laravel-pay-pocket/actions?query=workflow%3Arun-tests+branch%3Amain)
77
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/hpwebdeveloper/laravel-pay-pocket/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/hpwebdeveloper/laravel-pay-pocket/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
88

9-
**Laravel Pay Pocket** is a simple package designed for Laravel applications, offering the flexibility to manage multiple wallet types within two dedicated database tables, `wallets` and `wallets_logs`.
9+
**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`.
1010

1111
**Note:** This package does not handle payments from payment platforms, but instead offers the concept of virtual money, deposit and withdraw.
1212

@@ -53,7 +53,7 @@ php artisan vendor:publish --tag="pay-pocket-wallets"
5353

5454
This command will automatically publish the `WalletEnums.php` file into your application's `app/Enums` directory.
5555

56-
## Usage
56+
## Preparation
5757

5858
### Prepare User Model
5959

@@ -92,7 +92,7 @@ In this particular setup, `wallet_1` (`WALLET1`) is given the highest priority.
9292

9393
If the balance in `wallet_1` is 10 and the balance in `wallet_2` is 20, and you need to pay an order value of 15, the payment process will first utilize the entire balance of `wallet_1`. Since `wallet_1`'s balance is insufficient to cover the full amount, the remaining 5 will be deducted from `wallet_2`. After the payment, `wallet_2` will have a remaining balance of 15."
9494

95-
95+
## Usage, APIs and Operations:
9696
### Deposit
9797

9898
```php

0 commit comments

Comments
 (0)