Quickly convert the PHP 8 codebase to use PHP 8.1 features
November 23, 2021 — The release of PHP’s latest version 8.1 is around the corner and there’s never a better time to upgrade your codebase to PHP’s latest and greated version yet!
A blog on PHP, JavaScript, and more
November 23, 2021 — The release of PHP’s latest version 8.1 is around the corner and there’s never a better time to upgrade your codebase to PHP’s latest and greated version yet!
November 22, 2021 — VS Code is a big goldmine of little configurations which are turned off by default. Some of these configurations, if enabled, can prove to be a life-changer.
November 20, 2021 — While it’s not recommended to allow all of your model’s attributes mass assignable since in that case you need to make sure to hand-craft the arrays passed to Eloquent’s fill
, create
, and update
methods.
November 18, 2021 — Let’s talk about parallel promises today. So, in JavaScript, Promises provides a way of doing asynchronous programming in the language.
November 15, 2021 — The usual way of applying an underline to the text is by using the text-decoration
property which sets an underline (of the same color as the text) under the selected text.
November 14, 2021 — I recently saw a tweet by Philo Hermans which states the slick use of a recently added Prunable trait in Laravel 8.x
November 10, 2021 — If you’re a DevOp or a just regular user who manages their Linux/Unix servers, it’s a recurring task where you would need to keep an eye on the size of the subdirectories and files of your project.
November 6, 2021 — There comes a time when you would be in need of obfuscating a certain part of the string. For instance, to obfuscate the credit card’s digits except the last four or to mask specific parts of the phone number or email.
October 31, 2021 — Working with Git, it might be the case when you’re working on your feature branch, you worked on it and then pushed it onto the remote.
October 27, 2021 — If your website has been equipped with a dark theme, there will be a good chance where you might want to render some of the images based on the device’s theme. i.e. Dark or Light theme.