Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed SF to 6.4 LTS #2591

Merged
merged 1 commit into from
Apr 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions docs/dg/dev/upgrade-and-migrate/upgrade-to-symfony-6.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
title: Upgrade to Symfony 6
title: Upgrade to Symfony 6.4
description: Learn about the main changes in the new Symfony version 6
last_updated: Dec 7, 2022
last_updated: Apr 1, 2024
template: howto-guide-template
redirect_from:
- /docs/scos/dev/technical-enhancement-integration-guides/integrating-symfony-6.html
originalLink: https://documentation.spryker.com/2021080/docs/symfony-6-integration
originalArticleId: d5e96c3b-3ed6-49ed-982c-aa641e09b559
---

Spryker primarily supports Symfony 6 that was released in December 2022. Backward compatibility remains for all three major Symfony versions, but support for Symfony 4 was partially dropped in October 2022.
Spryker primarily supports Symfony 6.4 that was released in December 2022. Backward compatibility remains for all three major Symfony versions, but support for Symfony 4 was partially dropped in October 2022.

{% info_block warningBox "Avoid old Symfony versions" %}

Expand All @@ -19,18 +19,18 @@ Although Spryker still supports older versions of Symfony, avoid installing them

<a name="changes"></a>

## Main changes in Symfony 6
## Main changes in Symfony 6.4

Symfony 6 has a new cycle of innovations. When it starts, one cycle lasts two years, on a modernized codebase that has been cleaned up from the dead weight of the past.
The major change included in Symfony 6 is PHP 8.0 being the minimum required version of PHP.
The code of Symfony 6 has been updated. You can take advantage of all the new features in PHP.
Symfony 6.4 has a new cycle of innovations. When it starts, one cycle lasts two years, on a modernized codebase that has been cleaned up from the dead weight of the past.
The major change included in Symfony 6.4 is PHP 8.1 being the minimum required version of PHP.
The code of Symfony 6.4 has been updated. You can take advantage of all the new features in PHP.
For example, the code includes PHP 8 [attributes](https://www.php.net/manual/fr/language.attributes.overview.php), more expressive and rigorous type declarations, and more.

Read more at [CHANGELOG-6.0](https://github.com/symfony/symfony/blob/6.0/CHANGELOG-6.0.md).

## Upgrade Symfony to version 6

To make your project compatible with Symfony 6, update the [Symfony](https://github.com/spryker/symfony) module and all modules that use it:
To make your project compatible with Symfony 6.4, update the [Symfony](https://github.com/spryker/symfony) module and all modules that use it:

```bash
composer require spryker/symfony:"^3.11.0"
Expand Down
Loading