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

Létrehozva 4y | 2021. nov. 2. 10:20:09


Jelentkezéshez jelentkezzen be

EGYÉB POSTS Ebben a csoportban

New in Symfony 7.3: JsonStreamer Component

Contributed by Mathias Arlaud in

2025. máj. 20. 9:30:13 | Symfony
Symfony UX CVE-2025-47946: Unsanitized HTML attribute injection via ComponentAttributes

Affected versions

Symfony UX symfony/ux-live-component and symfony/ux-twig-component versions <2.25.1 are affected by this security issue.

The issue has been fixed in the 2.25.1 version of these

2025. máj. 19. 12:40:14 | Symfony
New in Symfony 7.3: Yaml Improvements

Symfony has been reducing the need for configuration in applications for several years now. Thanks to PHP attributes, you can now configure most things alongside the relevant code, removing the need f

2025. máj. 19. 8:10:09 | Symfony
A Week of Symfony #959 (May 12–18, 2025)

This week, development activity focused on polishing Symfony 7.3 ahead of its final release in two weeks. We also continued publishing articles highlighting the new features of Symfony 7.3 and shared

2025. máj. 18. 8:50:08 | Symfony
SymfonyOnline June 2025:  Keynote “Symfony in 2025, Scaling to Zero.”

SymfonyOnline June 2025 is almost here, starting in a few weeks on:

June 10-11: Workshop days. June 12-13: Online conference days in English. All talks will be available for replay as soon as

2025. máj. 16. 15:10:26 | Symfony
New in Symfony 7.3: Dependency Injection Improvements

Symfony 7.3 introduces several enhancements to the DependencyInjection component that simplify service configuration, make autoconfiguration more flexible, and enable environment-specific aliasing.

S

2025. máj. 16. 8:10:11 | Symfony
New in Symfony 7.3: Namespaced Caches

Contributed by Nicolas Grekas in

2025. máj. 15. 8:50:14 | Symfony