PHP Attributes provide a structured way to attach machine-readable metadata to classes, methods, functions, properties, parameters, and constants. This guide walks through how they work under the hood, how to declare them, and how to access them via Reflection.
Modern PHP versions introduce attributes, a structured and machine-readable way to express developer intent. This post walks through the most common built-in attributes with clear before-and-after examples.
The pipe operator does not add new capabilities to the language. Still it can help "chain" multiple callables in a more visible way, instead of nesting multiple callables or using a variable to hold the return values and pass them.
If you're still using XAMPP for local PHP development, it's time to reconsider. While XAMPP may seem like a convenient all-in-one solution - especially for beginners - it quickly becomes limiting and inefficient as your needs grow.
By default, VSCode doesn't recognize Tailwind CSS syntax. Because of this, it gives many warning alerts when using special CSS directives and syntaxes. This issue is solved by the official Tailwind CSS IntelliSense extension for VSCode.
Mixing `px` and `rem` in responsive design - especially in breakpoints - is a common mistake that leads to unexpected behavior and bugs. In this article, we break down why `rem` is the superior choice and show how to fix misconfigurations in Tailwind CSS v4.
With the release of the new stable v4 version in January 2025, significant changes were introduced. One of the major updates is the deprecation of the legacy JavaScript-based configuration - which has existed since the beginning - in favor of a new CSS-first configuration based on CSS directives. As a result, switching to this new approach requires a deep dive into the differences between the old and new configuration methods.
Introduction of separated packages for the Tailwind CLI, PostCSS integration, and a newly introduced plugin for direct Vite support. Easier installation, fewer files, and more thoughtful dependencies.
I'm publishing a new personal website built with Next.js and Tailwind CSS to share my own content. Among other things, I'll be sharing my thoughts, insights, interesting topics, and documentation for my own package.