Time as a Dependency: Advanced Patterns with the Symfony Clock
With Symfony 7.3 (released May 2025) and PHP 8.4, the symfony/clock component is no longer just a...
With Symfony 7.3 (released May 2025) and PHP 8.4, the symfony/clock component is no longer just a...
A specification for adding human and machine readable meaning to log messages
A step-by-step guide to building a key-value database from scratch.
Arrow functions were introduced in PHP 7.4 to allow devs to write short, anonymous functions. They offer a compact alternative to traditional closures, especially when the function body is small and focused. In this article, you will learn how to use...
Now with PHP 8.4 out of the box! 🚀"PHP 8 in a Nutshell" is a book that clearly and concisely summarizes all the new and important features of PHP 8 without all the fluff. The book covers all of PHP 8's developer-facing features in a concise format that covers the important nitty-gritty and what you would want in a real-world scenario.The book also covers the newest minor releases, PHP 8.1, 8.2, 8.3, and 8.4, and their features and enhancements.You'll get two nicely structured eBooks in PDF. One is in light mode, and the other is in beautiful dark mode if you prefer that.You'll also get the book in the EPUB format.Bonus: Once you buy a copy, you'll be entitled to get all the future updates to the book at no extra cost.So, what are you waiting for? Go and grab your copies now!Download the sample eBookAlso, be sure to rate the book if you like it! 🫶
The switch statement in PHP is great when you want check condition on the same expression without incorporating many if statements altogether.
Attributes are a powerful feature in PHP that can be used to add structured, machine-readable metadata to annotate your code. In this article, we'll look at what attri...
The Batch API is a powerful feature in Drupal that allows complex or time consuming tasks to be split into smaller parts.For example, let's say you wanted to run a function that would go through every page on you Drupal site and perform an action. This might be removing specific authors from pages, or removing links in text, or deleting certain taxonomy terms. You might create a small loop that just loads all pages and performs the action on those pages.