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

Creato 4y | 2 nov 2021, 10:20:09


Accedi per aggiungere un commento

Altri post in questo gruppo

SymfonyOnline June 2025: Detect Hidden Defects: Check Your PHP Tests

SymfonyOnline June 2025 is almost here, starting in almost 2 months on:

June 10-11: Workshop days. It is possible to attend 1 two-day training or 2 one-day trainings. June 12-13: Online confe

8 mag 2025, 14:40:19 | Symfony
New in Symfony 7.3: JsonPath Component

Contributed by Alexandre Daubois in

8 mag 2025, 10:10:10 | Symfony
SymfonyOnline June 2025: Combining Turbo, LiveComponent & Stimulus... the Right Way?

SymfonyOnline June 2025 is almost here, starting in almost 2 months on:

June 10-11: Workshop days. It is possible to attend 1 two-day training or 2 one-day trainings. June 12-13: Online confe

7 mag 2025, 13:10:15 | Symfony
New in Symfony 7.3: New and Improved Console Helpers

Symfony 7.3 introduces powerful improvements to the Console component, beyond the much-anticipated invokable commands and input attributes. This version also brings new helpers and features designed t

7 mag 2025, 08:30:04 | Symfony
New in Symfony 7.3: Static Error Pages

Contributed by Loick Piera in

6 mag 2025, 09:20:10 | Symfony
New in Symfony 7.3: Simpler Server Event Streaming

Contributed by Yonel Ceruto in

5 mag 2025, 07:50:03 | Symfony
A Week of Symfony #957 (April 28 – May 4, 2025)

This week, Symfony 6.4.21 and 7.2.6 maintenance versions were released. In addition, we published the first beta of Symfony 7.3 so you can test it in your own apps before its final release at the end

4 mag 2025, 08:40:05 | Symfony