The new "select" method for Laravel Collections
February 14, 2024 — Do you remember the only
method in Laravel Collections that allows you to retrieve a subset of the items from the collection?
A blog on PHP, JavaScript, and more
February 14, 2024 — Do you remember the only
method in Laravel Collections that allows you to retrieve a subset of the items from the collection?
February 12, 2024 — When you’re working with the terminal, you might have come across a situation where you don’t know how to use a particular command or what options it supports. In such cases, the best option that you have is to look at the help page of that command.
February 5, 2024 — We have been struggling with this situation where my wife is using iPhone 12 and now that the internal storage of her iPhone is almost full, she wants to transfer all of her photos and videos to some other device to free some space in it. And since I’m using an Android device, AirDrop is not an option.
February 4, 2024 — The release of Laravel 11 is around the corner and it’s packed with a lot of new features and improvements. One of the new features that it brings is the new Dumpable
trait.
February 3, 2024 — Today, I became a year older when I learned that VS Code’s File Tree has a sticky scroll feature. I mean, I never realized I would need this feature until I used it.
January 28, 2024 — One of the annoying things about VS Code is that it doesn’t have a built-in way to change the fonts interactively. You have to go to the settings and change the font family manually. And if you want to try out different fonts, you have to do this over and over again.
January 25, 2024 — It’s sometimes convenient if you can quickly glance over the database your Laravel application is using and its tables. This is especially useful when you’re working on a legacy project and you’re not sure about the database structure.
January 23, 2024 — Sometimes, you may wish to return multi-line JavaScript code from PHP along with some variables. For instance, a JavaScript object.
January 17, 2024 — So, I was checking out this trunk.io website recently and while the entire website is a masterpiece in itself, there’s one thing that caught my attention.
January 16, 2024 — APA-style titles are a specific type of title case that is used in academic papers, research reports, and journal articles. It’s a style that’s used by the American Psychological Association (APA) and is a variation of the title case.