Skip to content

Commit

Permalink
add docs bavix/laravel-wallet-uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
rez1dent3 committed Jan 13, 2024
1 parent 0d6a79e commit b1bea45
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@
- [Batch transactions](batch-transactions)
- [Batch transfers](batch-transfers)

- Nova

- [Change of balance](nova-action)

- Purchases

- [Payment](payment)
Expand All @@ -54,6 +50,11 @@
- [Race condition](race-condition)
- [Atomic Service](atomic-service)

- Additions

- [Wallet Swap](laravel-wallet-swap)
- [Wallet UUID](laravel-wallet-uuid)

- Events

- [BalanceUpdatedEvent](balance-updated-event)
Expand All @@ -65,6 +66,6 @@

- [Create Wallet](command-create-wallet)

- Additions
- Nova

- [Wallet Swap](laravel-wallet-swap)
- [Change of balance](nova-action)
18 changes: 18 additions & 0 deletions docs/laravel-wallet-uuid.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
## Laravel Wallet UUID

## Composer

The recommended installation method is using [Composer](https://getcomposer.org/).

In your project root just run:

```bash
composer req bavix/laravel-wallet-uuid
```

Now you need to migrate!

After migration, you can use the UUID in your models.
Attention! It will not work to use UUID instead of ID in wallet models; there is a special uuid field for this.

It worked!

0 comments on commit b1bea45

Please sign in to comment.