+10 articles about PHP that you can miss this week [W46]
PHP Enums, Write and Read XML, API request signatures, tracing your PHP project, and more.
PHP Articles
📚 4 Reasons to use PHP Enums instead of old-fashioned class constants
Are you still using class constants in PHP, even though Enums were introduced two years ago? It’s time to discover the 4 compelling reasons to switch to PHP Enums.
📚 Easily Read and Write XML in PHP
XML Wrangler is a simplistic PHP library designed to make reading and writing XML easy. Using familiar Laravel-like methods, this package is framework-agnostic and can be used in any PHP project (>=v8.1
).
📚 Rapyd API Request Signatures in PHP
Rapyd is a global payment-processing platform that provides developers with secure and easy-to-use payment solutions that work with over 190 countries..
📚 Finally, Tracing in PHP — Say Hello to OpenTelemetry
Profiling leads the way in PHP to verify performance of our applications. Yet when we want to track flows and communication within our system we need something more.
Laravel
📚 You Must Use UUID Instead of Auto-Incremented IDs in Laravel
In this article, we’ll explore the reasons why you should consider using UUIDs as primary keys in your Laravel applications, and we’ll refer to some valuable resources and articles for further insights.
📚 Search in Laravel
Search functionality is a fundamental feature that allows users to quickly find the information they need.
📚 Stateful Scaling: Laravel Session Management in Kubernetes Clusters
Kubernetes is an excellent option for scaling Laravel applications. Kubernetes offers scalability, high availability, service discovery, and load balancing..
Symfony
📚 Making a Single-Page Application with HTMX and Symfony
With the plethora of Javascript frameworks available today, web pages became smoother and smoother in terms of User Experience, a field Symfony has been trying to improve too with initiatives like Symfony UX.
📚 Common Security Pitfalls in Symfony and How to Avoid Them
Symfony is a robust and widely used PHP framework for building web applications. Its flexibility and extensive ecosystem make it a popular choice among developers.
📚 Symfony Event Dispatcher alias the pattern observer
One of my favorite pattern, er, my favorite. I would like to talk to you about this pattern and how it is implemented with Symfony.