Symfony

Symfony is a PHP framework originally created by the Sensio Labs company in 2005. It is free software released under the MIT license. The actual major version is 5 and the last minor version is 5.0. One of the most interesting feature of this framework is that is has a predictable roadmap which is a huge edge when using in a professional context. It also provides a long term support version (LTS) which provides a minimum 3 years maintenance period. The actual LTS is 4.4.

Symfony

Published on 2024-11-01 • Modified on 2024-11-01

This post shows various experiments and attempts around the ADR pattern applied to Symfony controllers.

subject Read the full post


Symfony

Published on 2024-08-27 • Modified on 2024-08-27

In this post, we see how we can use the Symfony tagged iterator to gather services of the same type. For sure, it is one of the most useful Symfony features.

subject Read the full post


Symfony

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".

subject Read the full post


Symfony

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.

subject Read the full post


Symfony

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.

subject Read the full post


Symfony

Published on 2022-11-19 • Modified on 2022-12-08

In this post, we rewrite a previous article that used API Platform 2.6 to use the new major version of API Platform 3.

subject Read the full post


Symfony

Published on 2022-10-15 • Modified on 2022-10-15

This post shows how to validate data fixtures with the Alice Symfony bundle before inserting them into the database. It's essential, as you could have invalid data otherwise in the development or test environments.

subject Read the full post


PHP

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.

subject Read the full post


Symfony

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?

subject Read the full post


Symfony

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.

subject Read the full post