PHP 8.6: JSON Decode Error Position
PHP 8.6 adds a small but useful improvement to JSON decoding: you can now get the exact error position when parsing fails. That makes debugging malformed payloads much faster.
This site uses cookies and gives you control over what you want to activate. Read the Privacy Policy
SensioLabs Insights
Our developers combine technical knowledge with industry insights to deliver tailored solutions.
PHP 8.6 adds a small but useful improvement to JSON decoding: you can now get the exact error position when parsing fails. That makes debugging malformed payloads much faster.
PHP 8.6 introduces SortDirection, a small but useful step toward clearer sorting APIs. Here’s what it changes, why it matters, and how to use it in practice.
Say goodbye to context switching and the "stash-and-switch" headache. By leveraging Git Worktrees alongside modern AI agents, you can now isolate environments and handle bug fixes in parallel while your AI builds features in the background. It’s a total DX game-changer that turns your Git workflow into a multi-threaded powerhouse.
In a previous article, we explored how to generate your first PDF in a few lines of code using Gotenberg and GotenbergBundle, a Symfony bundle that wraps Gotenberg's HTTP API to convert HTML or Office files into PDFs. That was a great start. But what happens when your application needs to generate multiple different PDFs, each with its own layout, styles, data?
Following a recent LinkedIn post, I wanted to write this article to describe 3 ceremonies that truly made an impact on me during one of my latest missions: Event Storming, Example Mapping, and Domain Storytelling.
Discover why Developer Experience matters more than ever and how better tools, smarter workflows, and a culture of learning can transform the way teams build software.
PHP remains one of the most reliable and cost effective backend technologies for enterprise systems.
Agile frameworks, such as Scrum and Kanban, are well-known for helping teams focus more effectively on creating value and adapting to changes more easily. However, agility doesn't stop at the team level. Some approaches also address decision-makers and organizations. Evidence-Based Management is one such approach, offering a different perspective with its structured value and progress management based on concrete evidence.
For business leaders: why testing matters for ROI, risk reduction, and agility explained in management language with numbers and real case studies.
Code review is an essential step in the software development cycle. It improves code quality, reduces bugs, and encourages knowledge sharing within the team. GitLab and GitHub, two of the most popular code management platforms, offer advanced features to facilitate this process. This article covers the various types of code reviews, how to organize them, and how to use templates and checklists to make PRs (pull requests) more efficient.
A new building block has been added to the Scrum Guide to enrich it! Does it offer real value, or is it just window dressing? Read on to find out in this article written by one of our experts.
PHP 8.5 introduces a powerful new URI extension that modernizes URL handling. With support for both RFC 3986 and WHATWG standards, the new Uri class provides immutable objects, fluent interfaces, and proper validation - addressing all the limitations of the legacy parse_url() function. This guide shows practical before/after examples and explains when to use each standard.
We’ve all done it — added target="_blank" to a link to “help users” stay on our site. But what feels like a harmless convenience often creates confusion, breaks accessibility, and introduces hidden security risks.
Break free from rigid dependencies in your PHP SDKs. Learn how to use PSR-7, PSR-17, and PSR-18 standards along with php-http/discovery to allow users to bring their favorite HTTP client, whether it's Guzzle, Symfony HttpClient, or another. A must-read for PHP and Symfony developers.
Scrum is often seen as the obvious framework for structuring and energizing product development, especially digital products. However, its adoption doesn't automatically guarantee success. So, what does Scrum really enable? More importantly, what are the conditions necessary for its effectiveness? And, above all, what pitfalls should be avoided to ensure it becomes a real asset?
Asynchronous processing offers benefits like decoupled processes and faster response times, but managing message priorities can become a challenge. When dealing with tasks ranging from password resets to complex exports, ensuring timely delivery of critical messages is essential. This article explores common asynchronous processing issues and provides solutions using Symfony Messenger, allowing you to optimize your application without extensive refactoring.
PHP 8.5 will be released in November 2025 and brings several useful new features and improvements. This version focuses on developer experience enhancements, new utility functions, and better debugging capabilities.
Boost your Symfony app's performance and developer experience! Learn how to use Service Subscribers and traits for lazy service loading to reduce eager instantiation, simplify dependencies, and create modular, maintainable code.
HTTP Verbs Explained: Learn the basics of GET, POST, PUT, DELETE, and more. This article explains how they work, their applications, and their security implications.
AI is transforming web development — and with php-llm/llm-chain, PHP developers can easily add powerful LLM features to Symfony apps. This guide shows you how to get started with chatbots, smart assistants, and more.
Zenstruck Foundry has revolutionized the way we write tests in Symfony. In this post, you’ll learn how expressive factories, isolated test data, and a smoother developer experience helped us streamline our testing workflow and boost productivity.
Discover when to rewrite legacy PHP applications from scratch versus incrementally refactoring them. Learn practical strategies for modernizing outdated codebases while maintaining business continuity.
Learn how to apply Domain-Driven Design (DDD) principles in Symfony with practical examples. Discover the power of value objects, repositories, and bounded contexts.
If you want to become a good PHP developer, you must learn to work with arrays. Arrays are used a lot in PHP: temporarily store, organize, and process data before it's saved in a database. Knowing how to work with them efficiently will help you manage and process data more effectively.
This article explores the DRY (Don't Repeat Yourself) principle and its impact on code quality. While emphasizing its importance in avoiding repetition and facilitating maintenance, it highlights the risks of excessive application of this principle, which can be detrimental to clarity and project evolution. The aim is to strike the right balance between reuse and simplicity.
Learn how to enhance type safety in Symfony and Doctrine by using dedicated ID classes like BookId and UserId instead of raw UUIDs. This approach prevents identifier mix-ups, improves code clarity, and ensures better integration with Symfony Messenger and repository methods. Explore practical examples and best practices for implementing type-safe identifiers in your Symfony applications.
Agility is more than just rituals and tools. In this first article of our Scrum series, we explore the Cargo Cult phenomenon and how blind imitation can hinder true Agile transformation.
SemVer ensures stability for libraries, while CalVer aligns projects with release cycles. Learn the key differences and best use cases to optimize your versioning strategy.