Understanding PHP Access Modifiers with Examples
Function overloading in PHP; Should I mock or should I go?; Multiple Column Plucking in Laravel Collections; and 5 Ways to Optimize Symfony Application Performance
PHP
📚 Understanding PHP Access Modifiers with Examples
In this article, we’ll explore PHP’s access modifiers in-depth, breaking down their usage with practical examples to help you understand how they work and why they matter.
Public constants, evaluated at runtime, and multi-line closures, with the simplest syntax…
Cross-Site Request Forgery (CSRF) is a web security vulnerability that allows an attacker to trick authenticated users into executing unwanted actions on a website where they’re currently logged in. The attack works by exploiting the trust that a website has in a user’s browser.
Yes, old hat, and all explain how to do method overloading. I want to write a simple function, and overload it. And all remark — use OO… hmmm. So I played around with the basic concept of a router function, and overloaded functions.
📚 How PHP and AI Are Coming Together in Modern Web Development
This article explores how PHP and AI are coming together in modern web development, offering new possibilities for developers and businesses alike.
📚 Running Joomla Task Scheduler tasks from the console (CLI)
To start the execution of scheduler tasks using the CLI, you need to connect to your server via SSH and run the command.
📚 The Importance of Minimizing Database Queries in Backend Development
Have you ever wondered why minimizing queries is essential for Backend Developers? As a Backend developer, one of your key responsibilities is to execute tasks with the least number of queries possible!
📚 PHP: Should I mock or should I go?
Mocks aim to test the behavior of real objects. They simulate dependencies, so you don’t have to call external resources that could slow down unit tests significantly.
📚 Single Quotes and Double Quotes : String Interpolation and Performance
Single quotes (’) and double quotes (“) in PHP serve the same primary purpose of creating strings, but they behave differently when it comes to variable interpolation and escape sequences.
Laravel
📚 Multiple Column Plucking in Laravel Collections
Laravel provides an efficient way to extract multiple column values from collections using the map method. While pluck() is limited to single columns, combining map with only allows for more flexible data extraction.
📚 How to Fix the Target Class Does Not Exist Error in Laravel
The Target Class Does Not Exist error often occurs when Laravel cannot locate the class being referenced, especially in cases involving dependency injection or service container bindings.
📚 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.
📚 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.
📚 Fluent Request Data Handling in Laravel
Managing request data just got smoother in Laravel. The new fluent() method on the Request class lets you handle input data with grace, providing null-safe access and enhanced transportability.
📚 Mastering Eloquent ORM: Simplifying Database Interactions in Laravel
This blog post explores how Eloquent ORM simplifies database interactions, making it easier for developers to manage their data.
📚 Step-by-Step Guide to Mastering Laravel Authentication and Authorization
In this comprehensive guide, you will learn how to set up a Laravel project, configure the database, implement authentication, manage users and roles, implement authorization, and test your application using a browser.
Symfony
📚 5 Ways to Optimize Symfony Application Performance
Symfony applications often face slow load times and high server strain due to issues like inefficient database queries, poor caching, and unoptimized settings. Here’s a quick breakdown of how to fix these problems and boost performance.
📚 A Week of Symfony #936 (2-8 December 2024)
This week, Symfony celebrated the SymfonyCon 2024 Vienna conference with great success. This annual event brought together the global Symfony community to exchange ideas, learn new things, and collaborate on contributions to the Symfony project. In addition, the upcoming Symfony 7.3 version introduced support for pre-compressing web assets and a new userIsGranted() security method to test user authorization without relying on the session.
📚 Symfony 7.2 curated new features
Symfony 7.2.0 has been released. As for any other Symfony release, our backward compatibility promise applies and this means that you should be able to upgrade easily to 7.2 without changing anything in your code.
📚 Symfony monitoring library implementation
The release of the latest version of the framework brought the opportunity to make the app monitoring experience as easy as never before. In this article I’ll detail what these changes are, and the impact they have on your monitoring experience in Inspector.
📚 How I Optimized Lazy Loading in Symfony Doctrine to Improve Performance
While working on a Symfony project, I faced an issue in which a OneToOne relationship in Doctrine was explicitly configured to behave lazily, but it was eagerly loading related entities.

