Improved single-method accessors and mutators in Laravel 8.x
December 27, 2021 — When you want to format certain Eloquent models before setting/retrieving in Laravel, you would certainly reach for the accessors and mutators.
A blog on PHP, JavaScript, and more
December 27, 2021 — When you want to format certain Eloquent models before setting/retrieving in Laravel, you would certainly reach for the accessors and mutators.
December 24, 2021 — The year 2021 is about to end in a few days and it’s the best time we can look back and reflect upon the things we’ve done, achieved, or some important milestones and welcome the new year which is standing right in front of our doorstep.
December 22, 2021 — One of the most important features of ES6 is destructing of arrays and objects.
December 21, 2021 — Let’s imagine a scenario where you have a MySQL table called users
and there’s a column called secret
which holds a secret token for the associated users.
December 20, 2021 — Working with Laravel’s HTTP client, there might be the scenario where the outgoing HTTP requests that you’re making might return responses with different status codes.
December 16, 2021 — There comes a time when you want to clone a Git repository through GitHub or a similar client but at the same time, you don’t want the entire history of that repository.
December 13, 2021 — When you are working with images on your website, the issue of the layout shift that comes with it is real and pretty annoying at times.
December 6, 2021 — While building Your First Commit Ever, I needed to retrieve the oldest commit of a GitHub user. After some Googling, I found a GitHub API endpoint that can be used to accomplish this.
December 4, 2021 — Some may argue that Laravel is a framework that is bloated with methods and stuff to do everything under the sun. But in my opinion, that’s one of those things that make Laravel, “Laravel” because the more options you have out of the box, the better your life gets!
November 30, 2021 — Providing a wide range of support for the browsers is a great problem to ponder upon when it comes to designing websites using CSS.