The new Arr::join() method in Laravel 9.x
May 7, 2022 — A while back, I have written an article on how to convert arrays to human-readable lists in JavaScript. It’s a built-in feature using the Intl.ListFormat
object that lets you do that.
A blog on PHP, JavaScript, and more
May 7, 2022 — A while back, I have written an article on how to convert arrays to human-readable lists in JavaScript. It’s a built-in feature using the Intl.ListFormat
object that lets you do that.
May 3, 2022 — Toggles are an integral part of a web application. Toggles usually have two states. Most of the time these would be of type boolean.
May 2, 2022 — A minor release for Laravel 9.x dropped a few days ago and among lots of new features and improvements, this release has introduced a new method called findOr
in the Eloquent Builder and Relations.
April 29, 2022 — When readonly properties were introduced in PHP 8.1, it has provided a legitimate way of making class properties truly “readonly”.
April 27, 2022 — When you’re working on the frontend side of the things of a website, one of the most common tasks is to render lists from arrays/objects.
April 24, 2022 — The latest version of PHP, PHP 8.1, has been around for quite some time and it comes packed with some great new features and enhancements.
April 23, 2022 — When you’re working on a Laravel application, chances are you might be working with a lot of emails. For instance, every time, a new user is created, a welcome email and a confirmation email will be sent to the user.
April 22, 2022 — When working with Laravel routes, if it’s not able to find the matching route, a typical 404 HTTP response will be generated and returned back.
April 15, 2022 — When you’re working with dates in Laravel, chances are high that you might have done it with this library called Carbon.
April 13, 2022 — Oftentimes when working with applications, for the sake of testing things out we need placeholder files. For instance, if we have a file upload functionality, we may want to test it for a certain file type of a certain size.
Follow me everywhere