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
@@ -110,6 +110,14 @@ Update the `DB_CONNECTION` variable in your `.env` file:
110
110
DB_CONNECTION=dynamodb
111
111
```
112
112
113
+
> **Note for Laravel 11+**: Laravel 11 and later versions default to `database` driver for session, cache, and queue, which are not compatible with this DynamoDB package. You'll need to configure these services to use alternative drivers. For instance:
114
+
>
115
+
> ```
116
+
> SESSION_DRIVER=file
117
+
> CACHE_STORE=file
118
+
> QUEUE_CONNECTION=sync
119
+
> ```
120
+
113
121
### Non-Laravel projects
114
122
115
123
For usage outside Laravel, you can create the connection manually and start querying with [Query Builder](#query-builder).
@@ -397,7 +405,7 @@ Then specify driver and model name for authentication in `config/auth.php`.
397
405
398
406
### Registration Controller
399
407
400
-
You might need to modify the registration controller. For example, if we use Laravel Breeze, the modification looks like below.
408
+
You might need to modify the registration controller. For example, if we use Laravel Starter Kits, the modification looks like below.
401
409
402
410
```php
403
411
class RegisteredUserController extends Controller
@@ -408,31 +416,30 @@ class RegisteredUserController extends Controller
There are two modifications. The first one is adding the closure validator for `email` instead of `unique` validator. The second one is using the `save()` method to create user instead of the `create()` method.
442
+
The change is in the email validation rules. Instead of using the `unique` rule, we pass a closure to perform the duplicate check directly.
0 commit comments