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
> Using uuid greatly reduces package performance. We recommend using int.
4
+
5
+
Often there is a need to store an identifier in uuid/ulid. Since version 9.0 laravel-wallet supports string identifiers, you only need to perform the migration.
6
+
7
+
To simplify the process, you can use a ready-made package.
8
+
9
+
> Attention! It will not work to use UUID instead of ID in wallet models; there is a special uuid field for this.
10
+
11
+
## Composer
12
+
13
+
The recommended installation method is using [Composer](https://getcomposer.org/).
14
+
15
+
In your project root just run:
16
+
17
+
```bash
18
+
composer req bavix/laravel-wallet-uuid
19
+
```
20
+
21
+
Now you need to migrate!
22
+
23
+
After migration, you can use the UUID in your models.
24
+
25
+
You can find implementation examples in the package tests: https://github.com/bavix/laravel-wallet-uuid/tree/master/tests
0 commit comments