Upgrade Flex on your Symfony projects

As announced at the end of September, Symfony Flex is Going Serverless. If you have a project using Symfony 4+ full-stack framework, there is a high chance that it is using Symfony Flex. Symfony Flex automatically configures packages when you install or upgrade them via official or contributed recipes. The way we serve the recipes is changing, and you need to upgrade the symfony/flex package to take advantage of this change. First, check that you are using Flex using this command:

    1
    $ composer show symfony/flex

If none of your projects is using Flex, you can get back to work. But if the versions entry is showing a version that is less than v1.17.1, then, please keep reading, this blog post is for you. With older versions than v1.17, Flex is getting the recipes from the Flex server. This is currently a single point of failure as this server is managed by Symfony with limited resources. As of v1.17, we switched to use Github to serve recipes, which makes us confident that the SLA can only be better. On top of that, we are now serving static files instead of dynamic ones, which should make downloading the recipes a bit faster too. The current Flex server will be retired at some point, so you need to upgrade Flex to benefit from the new setup. Upgrading the symfony/flex package by running the following command is enough:

    1
    $ composer update symfony/flex

We have not decided yet when we will shut down the current Flex server, but please upgrade at your earlier convenience to help us move forward faster.

                Sponsor the Symfony project.

http://feedproxy.google.com/~r/symfony/blog/~3/cqyeM5xEFU4/upgrade-flex-on-your-symfony-projects

Created 3y | Nov 2, 2021, 10:20:09 AM


Login to add comment

Other posts in this group

SymfonyLive Berlin 2025: Need a MACH-ready Search Engine?

SymfonyLive Berlin 2025, conference held in English, will take place from April 1 to 4! The schedule is being revealed gradually. More details are available here.

As we are now unveiling th

Jan 24, 2025, 11:20:16 AM | Symfony
SymfonyLive Paris 2025 : Rôles & permissions : développez une marque blanche avec du Feature Flipping

SymfonyLive Paris 2025, conference in French language only, will take place from March 27 to 28! The schedule is currently being revealed as we go along. More details are available here.

Al

Jan 23, 2025, 4:50:03 PM | Symfony
SymfonyLive Berlin 2025: So you think you know PHPUnit

SymfonyLive Berlin 2025, conference held in English, will take place from April 1 to 4! The schedule is being revealed gradually. More details are available here.

First, a big thank you to

Jan 22, 2025, 8:20:10 AM | Symfony
SymfonyLive Paris 2025 : Passkeys pour une authentification fluide et sécurisée

SymfonyLive Paris 2025, conference in French language only, will take place from March 27 to 28! The schedule is currently being revealed as we go along. More details are available here.

To

Jan 21, 2025, 11:30:10 AM | Symfony
Join us for SymfonyDay Chicago – March 17, 2025!

Mark your calendars for March 17, 2025 because SymfonyDay Chicago 2025 promises to be a one-of-a-kind event that you won’t want to miss! This full day is dedicated to celebrating the incredible contri

Jan 20, 2025, 7:20:03 PM | Symfony
A Week of Symfony #942 (13-19 January 2025)

This week, Symfony celebrated the SymfonyOnline January 2025 conference. In addition, it announced the new Symfony UX Core Team. Lastly, the upcoming Symfony 7.3 version simplified the configuration o

Jan 19, 2025, 8:30:08 AM | Symfony
Announcing the Symfony UX Core Team

The Symfony UX initiative was announced in December 2020. It was introduced to enhance the developer experience by integrating JavaScript tools and libraries more seamlessly with Symfony applications,

Jan 13, 2025, 3:40:04 PM | Symfony