Published on 2023-08-21 • Modified on 2023-08-21
In this post, I introduce the MicroSymfony application template, which results from several ideas I already discussed in a previous post: "Initializing your Symfony project with solid foundations".
Published on 2023-05-20 • Modified on 2023-05-20
In this post, we see how to use Symfony forms with PHP typed properties and non-nullable one. Let's see the problems that can occur and how to handle them.
Published on 2023-04-08 • Modified on 2023-04-08
This post shows how to use PHP enumerations with your Symfony workflows. Let's take advantage of this new PHP feature to clean up and improve all the workflow-related code.
Published on 2022-09-03 • Modified on 2022-09-07
This post shows how to use PHP 8.1 enumerations in a Symfony project. We review the different steps to use this new PHP 8.1 useful feature in different parts of a Symfony application.
Published on 2022-07-25 • Modified on 2022-07-25
This post shows how to upgrade PHP with the ondrej/php repository on an Ubuntu server, step by step, to avoid forgetting something.
Published on 2022-06-11 • Modified on 2022-06-12
This post shows how to initialize a Symfony project with solid foundations. I give several bits of advice about this crucial step that determines how your project will evolve in the long run; will it stay maintainable and fun to work with? Or will it become the legacy project everyone tries to avoid?
Published on 2022-02-12 • Modified on 2022-02-12
In this post, we see a simple solution to mock API calls with the Symfony HTTP client, declare a scoped HTTP client and test it with or without mock.
Published on 2021-12-22 • Modified on 2021-12-22
In this post, we see how to organize your Symfony project tests. We check all the available test types and create consistent and robust test suites.
Published on 2021-10-28 • Modified on 2021-10-28
In this post, we see how to create custom PHPStan rules for a Symfony project. We will check Symfony best practices but also more specific rules.