What to do when the debugger has a bug? That’s the question I had to answer when my GitHub notifications went haywire because a new version of Xdebug was crashing FrankenPHP and therefore all the projects that use it. Together, we’ll retrace the epic story of this debugging debugger and discover a method that can…
Tag: Symfony
Containerization Tips and Tricks for PHP apps
API Platform was one of the first PHP frameworks to provide native support for Docker, Docker Compose, Kubernetes, and, more recently, Skaffold. The API Platform skeleton also served as the basis for Symfony Docker, the most popular solution for containerizing Symfony projects. These years of developing skeletons compatible with dev environments, continuous integration chains, and…
Front-end application development, Symfony-style(s)
We recently introduced the AssetMapper component and Symfony UX to make the most of the web platform and reduce the amount of JavaScript code to the absolute minimum. This “radically simple” approach is generally the most efficient, and should be the go-to method for most new Symfony applications. However, API-based, JavaScript-heavy applications are still inevitable…
PHP and Symfony Apps As Standalone Binaries
Distributing PHP applications is quite complicated. For instance, to run a Symfony project in production, a web server, the PHP engine, and the appropriate PHP extensions need to be installed. Their versions and configurations must be compatible with the app. Because PHP is an interpreted language, the application source code must also be available. Composer…
6x faster Docker builds for Symfony and API Platform projects
Available translations: French At Les-Tilleuls.coop, we’re constantly striving to reduce the environmental footprint and hosting costs of the projects we work on (eco-design, GreenOps, and FinOps strategies…). We generally focus on optimizing production code and infrastructure, but the CI/CD pipelines used to build and deploy applications can also consume a lot of physical and financial…
How Can JSON-LD Help You Sell More?
By default, all data exposed by the Sylius API and all APIs using API Platform are formatted using JSON-LD, “JavaScript Object Notation for Linked Data”. This is no accident! Understanding and using JSON-LD can dramatically improve your offers’ reach and enhance the customer experience. In this talk, we will see how the RDF data model,…
Symfony ImportMaps: Manage Your JavaScript Dependencies Without Node
View the recording of this talk (in French) View the Pull Request Yarn, NPM, pnpm, Babel, SWC, Webpack, TurboPack, Rollup, Parcel… Is it really necessary to introduce so much complexity to create a beautiful and interactive website? The Symfony UX initiative greatly simplified how to build frontend applications with Symfony by going back to the…
Building Decentralized Web Apps with Solid and PHP
At SymfonyLive Paris, I introduced a new PHP library to build Solid applications: Solid Client PHP. In this presentation, I present the Solid protocol and how it could give back the control of their personal data to end-users. View the recording (slides in English, talk in French). This presentation is about decentralized web applications, but…
JSON Columns and Doctrine DBAL 3 Upgrade
Version 3 of the popular Doctrine DBAL library has been released at the end of 2020, almost 10 years after the initial release of version 2. In September 2021, Doctrine ORM 2.10 added support for DBAL 3, while still supporting DBAL 2 at the same time. Versions prior to 2.10 aren’t compatible with DBAL 3….
Symfony’s New Native Docker Support (Symfony World)
I’m very excited to announce that after 6 years of teamwork, Symfony and API Platform now include an industry-first set of tools designed to automatically create, manage and run the Docker containers needed for your applications. Read my article on the Symfony blog Watch my Symfony World talk Browse my slides deck: