thumbnail

Eloquent model restrict

Rawa Hamid
Rawa Hamid 1 min read
3 weeks ago April 21, 2024

Eloquent model restrict

You can use an Eloquent Model's mutator to restrict the change of a database column such that it can only be changed once and never again.