Automatically remove models using Prunable trait in Laravel 8.x
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
A blog on PHP, JavaScript, and more
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.
October 24, 2021 — The recently launched https://vscode.dev by GitHub last week was all the buzz and talk of the town. People got crazy about it because now you’re getting a full-fledged VS Code right into your browser. And because of this, you don’t need to install VS Code on your system anymore.
October 21, 2021 — Okay… Here’s a confession. I love box shadows! And you can make it out by looking around on this blog. They are all over the place. Some are subtle while some are prominent.
October 19, 2021 — Strings are tricky things to work with when it comes to programming. But thankfully, Laravel provides a lot of helper methods that can fulfill almost all the use-cases you might have when you’re working with strings.
October 18, 2021 — Chrome’s Dev Tools is a gold mine of little features. While some of them are pretty useful, some are just there. But the problem here is these features sit deep inside the settings panel and to really discover them, you have to dig them. Feature-by-feature!
October 14, 2021 — The newest release of PHP, v8.1, is around the corner and it will introduce a whole lot of new features, from the read only properties to the native enums. It’s pretty exciting!