PHP Array Unpacking
With array unpacking, you can merge two or more arrays. In some cases, this may be an alternative to the array_merge() function. Since PHP 8.1, you can merge array that have string key.
You can unpack an array using the ... operator.
#php#backend#tip
Laravel Tip 💡: Avoid Duplicate Queries
We often eager load relationships manually using the "load" method. While this works, it can result in duplicate queries when the relationship is already loaded. This can be avoided by using the "loadMissing" method 🚀
#laravel
Hello. My name is Aramayis. I am an experienced developer from Armenia. I mainly develop websites in PHP, using the Laravel framework.
I'm looking for a contract or full-time job. Can also consider freelance projects.
I would be very grateful if you like or share my CV.
Hi, devs!
This is my first article on Medium. If you found this article helpful, please like and share with your friends.
I just published Digging Deeper into MySQL Index Types https://t.co/racL0Y14vl