PHP 8.4: Breaking Down the Big Updates (With Examples)
Value Objects in PHP can protect you from bad data; Why I Like the Strategy Pattern; and 19 Essential Laravel Performance Optimization Tips.
PHP
📚 PHP 8.4: Breaking Down the Big Updates (With Examples)
In this blog, we’ll explore PHP 8.4’s most exciting features, provide examples to help you understand how to use them, and highlight performance improvements.
📚 10 PHP Code Snippets Every Developer Should Keep Handy
This article presents 10 essential PHP code snippets that every developer should keep in their toolkit.
📚 Value Objects in PHP can protect you from bad data
One of the things that we need to care about when working with object oriented programming is that the data we are working with is valid at every moment.
📚 Happy Holidays from The PHP Foundation!
As 2024 comes to a close, we at the PHP Foundation want to take a moment to thank everyone who has supported us this year. It’s been an incredible journey, and we couldn’t have done it without the amazing PHP community and our generous sponsors.
📚 Why You Should Consider Upgrading to PHP 8.4?
In this article, we’ll explore the key reasons why you might want to upgrade your PHP projects to version 8.4.
📚 How to Prevent Session Hijacking: Secure PHP Session Management
This article will explore the mechanics of session hijacking, how weak session management compromises user data in PHP applications, and best practices to secure session handling and protect user data.
📚 Why I Like the Strategy Pattern
As a developer, one of the most powerful tools is the ability to write clean, maintainable, and extensible code. Design patterns play an important role in accomplishing this goal; among them, the Strategy pattern is particularly notable.
Laravel
📚 Comprehensive Methods to Display Arrays in PHP and Laravel
Here are several methods for displaying an array in PHP and Laravel, along with their examples and usage. Each method serves different purposes based on your requirements.
📚 19 Essential Laravel Performance Optimization Tips
In this article, we will explore 19 tips that can significantly enhance the performance of your Laravel application. Below are detailed explanations of each tip.
📚 Converting Laravel Models to JSON for API Responses
Laravel provides several methods for transforming Eloquent models into JSON, with toJson() being one of the most straightforward approaches.
📚 Streamlining Route Parameters in Laravel Using URL Defaults
Managing URL parameters in Laravel applications, particularly those with multiple languages or complex routing patterns, can become repetitive. Laravel provides an elegant solution through URL defaults, allowing you to set application-wide default values for URL parameters. Let’s explore this powerful feature’s implementation.
📚 Mastering Laravel Configuration: An In-Depth Guide
In this post, we’ll explore Laravel’s most important configuration files and how to effectively manage them using the .env file to optimize your application’s performance.
In this post, we’ll dive into the various methods Laravel offers for paginating data and how you can leverage them in your applications.
📚 Get Xdebug Working With Docker and PHP 8.4 in One Minute
Xdebug has a history of having a steep setup learning curve. I am here to show you that setting up Xdebug doesn’t have to be painful. In fact, I am confident that you can start using Xdebug with Docker in about a minute.
📚 Mastering Laravel: Form Handling and Validation
This article explores how to handle forms, validate user input, and work with requests and responses in Laravel.
📚 The magic behind Laravel’s new defer() helper
Laravel has recently been shipped with a new helper called defer() which can be used to defer the execution of a callback until after a successful response has been sent.
📚 Laravel Advanced: Lesser-Known, Yet Useful Composer Commands
Composer also offers some commands that are lesser-known but helpful while working on your Laravel app.
Symfony
📚 Symfony Through a Fan’s Eyes: A Simple Guide
So, let’s explain Symfony clearly and highlight its strengths without overwhelming them or making it seem complicated.
📚 Introducing the new Twig Playground
I’m very excited to announce the launch of Twig Playground, a new tool that allows you to test and experiment with Twig templates in a sandbox environment. It is entirely web-based, with no backend.
📚 A Week of Symfony #939 (23-29 December 2024)
This week, we launched the new Twig playground, a tool that lets you test and experiment with Twig features in a safe, sandboxed environment. While Symfony development activity was lighter than usual due to the year-end holidays, we introduced a new is_granted_for_user() function to check authorization for a given user directly in Twig templates
Tools
📦 Ghostty Is a Fast, Feature-Rich, Cross-Platform Terminal
Ghostty is a fast, feature-rich, cross-platform terminal emulator that uses platform-native UI and GPU acceleration.

