dyrynda/laravel-nullable-fields
Keeps nullable database columns genuinely null. Add the NullableFields trait to an Eloquent model and list your nullable fields; empty strings are converted to NULL on save, keeping your Laravel data consistent across queries, filters, and relationships.
|
Package
|
Constraint
|
|---|---|
| illuminate/contracts | ^11.0 | ^12.0 | ^13.0 |
| illuminate/database | ^11.0 | ^12.0 | ^13.0 |
| illuminate/events | ^11.0 | ^12.0 | ^13.0 |
|
Package
|
Constraint
|
|---|---|
| laravel/pint | ^1.29 |
| pestphp/pest | ^2.34 | ^3.0 | ^4.0 |
How can I help you explore Laravel packages today?