#laravel
Read more stories on Hashnode
Articles with this tag
In Laravel applications, we use dd() to dump data, or Log::debug() to write debugging messages to log files. These are pretty handy functions....
Cache TTL In writing cache logic, we often need to specify a time duration for the cache to expire. It's called TTL, or "Time To Live." Considering...
Every time I try to "refresh" a model, I have always encountered this problem. Is it Model::fresh()? Or Model::refresh(). Both method exists. And both...