Get all the changes applied by model updates in Laravel
July 20, 2021 — Here’s a little tip I get to know about Eloquent through this tweet by ninjaparade.
A blog on PHP, JavaScript, and more
July 20, 2021 — Here’s a little tip I get to know about Eloquent through this tweet by ninjaparade.
July 19, 2021 — Extending the use of the Intl object from the previous article, today we’re going to talk about the Intl.RelativeTimeFormat object that has an important and relatively frequent usecase in modern web applications.
July 11, 2021 — Oftentimes, you might end up in situations where you have an array and you just want to deflate the entire array content in a human-readable form. Or more specifically in a list-like format.
July 8, 2021 — Working with arrays, there might come a time when you want to check if the array in question is a list or not. So, how does an array qualifies as a “list”?
July 7, 2021 — PHP, as a language, is ever-changing and ever-evolving. It’s not a language it was 10 years ago. This is all because the PHP’s core team which has been constantly improving minor things that might not look significant at first glance but when fixed/implemented, can dramatically improve the overall developer experience.
June 30, 2021 — Logging is an integral part of developing applications. And if you’re working with Laravel, logging things is a breeze.
June 29, 2021 — In Laravel, when your queued jobs fail after a job has exceeded the number of attempts, it will be inserted into the failed_jobs
database table (if you have set it up).
June 23, 2021 — Typically, when you send notifications from your Laravel app, the notifications would be attached to the users of your application in most of the scenarios.
June 18, 2021 — When you’re working with numbers in your code, they sometimes become hard to comprehend. For instance, in cases where numbers are too large in terms of length. Take the following for example.
June 15, 2021 — The latest major version of React.js, 18, is around the corner and it will include out-of-the-box improvements (like automatic batching), new APIs (like startTransition), and a new streaming server renderer with built-in support for React.lazy
.
Download my eBook
(Includes PHP 8.1 and 8.2)
Follow me everywhere