From b1bea4542bbb1a7bfbe707f705d2a56e46418031 Mon Sep 17 00:00:00 2001 From: Maxim Babichev Date: Sat, 13 Jan 2024 09:55:52 +0300 Subject: [PATCH] add docs bavix/laravel-wallet-uuid --- docs/_sidebar.md | 13 +++++++------ docs/laravel-wallet-uuid.md | 18 ++++++++++++++++++ 2 files changed, 25 insertions(+), 6 deletions(-) create mode 100644 docs/laravel-wallet-uuid.md diff --git a/docs/_sidebar.md b/docs/_sidebar.md index 0acf17f85..60ac24772 100644 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -35,10 +35,6 @@ - [Batch transactions](batch-transactions) - [Batch transfers](batch-transfers) -- Nova - - - [Change of balance](nova-action) - - Purchases - [Payment](payment) @@ -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) @@ -65,6 +66,6 @@ - [Create Wallet](command-create-wallet) -- Additions +- Nova - - [Wallet Swap](laravel-wallet-swap) + - [Change of balance](nova-action) diff --git a/docs/laravel-wallet-uuid.md b/docs/laravel-wallet-uuid.md new file mode 100644 index 000000000..0f1bfc4a7 --- /dev/null +++ b/docs/laravel-wallet-uuid.md @@ -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!