Top features of PHP 7.4 Explained!

PHP 7.4 is finally released a few days ago. It’s a fourth feature update to the PHP 7 series and it comes with a very interesting set of features which I’m going to talk about in this article. Some of are very long overdue such as unpacking arrays, typed properties and so forth. However, these all comes with some sort of caveats. Let’s talk about all of the new features in details.

» Read More

Attach, detach and sync many-to-many relationships in Laravel

There exists four types of relationship associated between models/entities. And they are: One To One, One To Many, Many To One and Many To Many. We’re specifically going to talk about Many To Many relationship and most importantly attach, detach and sync helper methods that are provided in Laravel in this article.

» Read More

Extending class behaviour in Laravel using Macros

In this article, I’m going to discuss about the feature in Laravel using which you can extend the functionality of certain Laravel’s core classes without even touching the original codebase. Or in other words, adding methods to the class dynamically.

» Read More

Reviewing Chernobyl - The HBO miniseries

I'm not a person who watches this "series thingies" more often but there are some exceptions. I've been always interested in the Chernobyl nuclear disaster that happened in Ukraine back in 1986 ever since I've been a teenager. Our textbooks have a little details about the incident but that was very brief.
» Read More

Newsletter

Follow me on Twitter @amit_merchant