Grouping routes by controllers in Laravel 8.x
January 19, 2022 — There are many ways using which you can group your routes in Laravel right now. For instance, as by middlewares, subdomains, prefixes to name a few.
A blog on PHP, JavaScript, and more
January 19, 2022 — There are many ways using which you can group your routes in Laravel right now. For instance, as by middlewares, subdomains, prefixes to name a few.
January 16, 2022 — In Laravel, when you want to update the model that already exists in the database, you would first retrieve that model, set any attributes you wish to update, and then call the model’s save
method like so.
January 13, 2022 — I haven’t worked with the macOS for an extended amount of time but when I did, I made sure I keep the Alfred installed on my system because having it on my machine allowed me to do things in a matter of few keystrokes and in turn, helped me save a lot of time!
January 12, 2022 — Working with currencies is the use-case that you might find yourself stumbled upon more often than not. And one of the aspects of it is to display the currency on the frontend.
January 9, 2022 — Consider the scenario where you’re working on a Git branch called featureB
and you have a lot of unstaged files in this branch.
January 6, 2022 — Well, this one blew my mind completely when I got to know about it. So, you probably are aware of the fact that the <img>
tag is used for displaying images on websites.
January 3, 2022 — You would reach for the git log command when you want to take a look at the list of commits for the Git repository you’re currently in.
December 31, 2021 — When you’re working with images on your website, it would be good if you can provide some sort of image magnification to your users when clicked/tapped/hovered over the images for better visibility.
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.
Awesome Sponsors
Download my eBook
(Includes PHP 8.1 and 8.2)
Follow me everywhere