Skip to content
This repository was archived by the owner on Oct 3, 2018. It is now read-only.

Abandon package #13

Merged
merged 1 commit into from
Sep 13, 2018
Merged
Show file tree
Hide file tree
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
39 changes: 5 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,10 @@
Enforcing Long Term Supported Versions of the Symfony Components
================================================================

Using `symfony/symfony` makes Composer install all Symfony Components, all in
the same version. But when using the standalone packages, Composer might
install dependencies in a different major version (`symfony/http-kernel` v3.4
is compatible with `symfony/event-dispatcher` v4.0 for instance).
This package is abandoned.

This is fine if you don't want to stick to Symfony LTS versions and if your
code does not use these transitive dependencies.
Use `symfony/flex` instead and configure its `extra.symfony.require` setting
to the version range you'd like to have.

This Composer package allows you to enforce a consistent major version on all
Symfony Components, whether they are explicitly listed as a project's
dependency or installed transitively.

Note that this package is meant to be used by projects. Library authors SHOULD
NOT use it, except maybe in the `"require-dev"` Composer section.

Usage
-----

Use the Composer command line:

```bash
composer require symfony/lts v3
```

Versioning Policy
------------------

There is only one version of the `symfony/lts` package per major Symfony
version. Each version is tagged at the same time as the *last* minor version of
each major release (`v4` when Symfony `v4.4.0` is out.)

At the same time also, the Composer `branch-alias` is increased to the next
major version number.

If one wants to use the next *unreleased* major version of Symfony, one should
not use this package at all.
For example, `composer config extra.symfony.require ~4.1.0` restricts the
versions of all Symfony components to `~4.1.0`.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"homepage": "https://symfony.com/contributors"
}
],
"abandoned": "symfony/flex (see README at https://github.com/symfony/lts)",
"conflict": {
"symfony/asset": ">=5",
"symfony/browser-kit": ">=5",
Expand Down