November 30, 2023 — If you’re working with Laravel, you might have come across a situation where you need to use a large JSON input as a collection. For instance, you might want to use a JSON file as a collection in your application.
November 28, 2023 — Recently, I was checking Life At Spotify website and spotted this cool hollow text hover effect on the page. It looks like this.
November 27, 2023 — If you’re working with PHP, you might have come across a situation where you need to check the type of the string. For instance, you might want to check if the string is a number, alphabetic, alphanumeric, or a binary string.
November 23, 2023 — If you’ve ever wondered how the internet works, proxies are a key player. They act as intermediaries between your device and the internet, offering an additional layer of protection and anonymity. For those seeking enhanced security and control over their online activities, understanding what a proxy is and why it’s beneficial is essential.
November 22, 2023 — PHP has this
NumberFormatter class which is a part of the
intl extension. This class is used to format numbers based on the locale. I covered this in one of my previous articles.
November 20, 2023 — You know Laravel has this neat Blade directive called
@error which you can use to display the validation error message for a given field. For instance, if you have a
name field in your form and you want to display the validation error message for it, you can do it like so.
November 18, 2023 — Sometimes you may want to skip a PHPUnit test conditionally. For instance, you may want to skip a test if the PHP version is less than 7.4 or if a certain extension is not installed on the system.
November 7, 2023 — Imagine a scenario where you’re stuck with an issue related to your server and you might not be able to solve it without the help of your colleague.
November 3, 2023 — If you’re using GitHub Copilot, there’s good news for you. GitHub Copilot now generates AI commit messages for you based on the changes you’ve made in your codebase.
Download my eBook
(Includes PHP 8.1, 8.2, and 8.3)
Follow me everywhere