Short information about global scopes
Global scopes allow you to add conditions to ALL queries for a particular Model. For example, if you want all records to be always ordered in a certain way.
Read more in the official Laravel docs.
Additional resources on global scopes:
Bert Heyman | dev.to