File tree Expand file tree Collapse file tree 4 files changed +11
-10
lines changed Expand file tree Collapse file tree 4 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,13 @@ export default defineConfig({
124124 { text : 'Create Wallet' , link : '/guide/cqrs/create-wallet' } ,
125125 ]
126126 } ,
127+ {
128+ text : 'Additions' ,
129+ items : [
130+ { text : 'Wallet Swap' , link : '/guide/additions/swap' } ,
131+ { text : 'Support UUID' , link : '/guide/additions/uuid' } ,
132+ ]
133+ } ,
127134 ] ,
128135
129136 socialLinks : [
Original file line number Diff line number Diff line change 1- ## Laravel Wallet Swap
1+ # Laravel Wallet Swap
22
33## Composer
44
@@ -10,7 +10,7 @@ In your project root just run:
1010composer req bavix/laravel-wallet-swap
1111```
1212
13- ### User model
13+ ## User model
1414We need a simple model with the ability to work multi-wallets.
1515
1616``` php
@@ -24,7 +24,7 @@ class User extends Model implements Wallet
2424}
2525```
2626
27- ### Simple example
27+ ## Simple example
2828Let's create wallets with currency:
2929``` php
3030$usd = $user->createWallet([
Original file line number Diff line number Diff line change 1- ## Laravel Wallet UUID
1+ # Laravel Wallet UUID
22
33> Using uuid greatly reduces package performance. We recommend using int.
44
Original file line number Diff line number Diff line change 44
55Replace ` ::with('balance') ` to ` ::with('wallet') `
66
7- ---
8-
97## 2.1.x → 2.2.x
108
119Replace ` CanBePaid ` to ` CanPay ` .
1210
1311Replace ` CanBePaidFloat ` to ` CanPayFloat ` .
1412
15- ---
16-
1713## 2.2.x → 2.4.x
1814
1915Replace ` calculateBalance ` to ` refreshBalance `
2016
21- ---
22-
2317## 2.4.x → 3.0.x
2418
2519Replace path ` bavix.wallet::transaction ` to ` Bavix\Wallet\Models\Transaction::class `
You can’t perform that action at this time.
0 commit comments