Fetch all the available time zones in PHP
February 16, 2022 — When you’re building a user-facing application, one of the most common scenarios is to let the user decide their respective time zone.
A blog on PHP, JavaScript, and more
February 16, 2022 — When you’re building a user-facing application, one of the most common scenarios is to let the user decide their respective time zone.
February 12, 2022 — Before Laravel 9, when you wanted to interact with strings you would either use the Illuminate\Support\Str
class like so.
February 11, 2022 — Ever since I entered into this world of user interfaces, the one thing that I always come across while working are these radio buttons.
February 10, 2022 — Numbers are tricky. Numbers are tricky because they have been used as a metric for a lot of things. Currency, scale, weather, science to name a few. And since numbers are associated with several different things, it’s important to represent them in a way humans can understand.
February 7, 2022 — More often than not, you would end up in a scenario where you created a new branch off from the base branch, you implemented the feature and once that is done, you raise a pull request for the same.
February 3, 2022 — The one feature of Laravel I truly admire is the Collections. Essentially, collections provide a fluent, convenient wrapper for working with arrays of data.
February 1, 2022 — Sometimes, you might stumble upon a situation where you have some keywords and you want to replace those with certain keywords in the string.
January 30, 2022 — Up until now, when you’re working with Laravel’s paginator and if you wanted to check whether the user is on the first page of the pagination in a Blade file, you would be using the onFirstPage()
method like so.
January 27, 2022 — I have been using Git since the start of my career (Which spans 10 years now). I have heard about this Git’s feature called cherry-pick
every now and then but I haven’t been in a situation where I would actually use it. Until today.
January 23, 2022 — Dark mode (or night mode) has been an inherently important feature that has been with all the latest operating systems. Windows comes with a dark mode, macOS as well and even most Linux distributions are offering it.