Laravel Json Api Eloquent queries vs $visible property
If you are building a JSONAPI, certainly you will be showing data, however when you cast the model fields, often you dont cast all the fields, lets use the example of users, and head to the User Model on a fresh Laravel 8 installation.
Certainly you ...
mohamedallam.hashnode.dev4 min read