2017 © Pedro Peláez
 

metapackage symfony-lock

Enforces that all Symfony components use the same major / minor version

image

pamil/symfony-lock

Enforces that all Symfony components use the same major / minor version

  • Saturday, December 30, 2017
  • by pamil
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Locking a Symfony Project to a Specific Major Version of the Framework

Using symfony/symfony makes Composer install all Symfony Components, all in the same version. But when using the standalone packages (the Symfony Flex way), Composer might install dependencies in a different major version (symfony/http-kernel v2.8 and symfony/event-dispatcher v3.4 for instance, usually because another dependency of the project is not compatible with Symfony 3.0)., (*1)

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., (*2)

For instance when using dunglas/symfony-lock:^4, if a package cannot be installed in v4.0, but only in v3.4 (usually because of another library not supporting Symfony 4), a conflict will be generated., (*3)

Note that this package is meant to be used by library authors in their continuous integration systems. It should NOT be added directly to the project's composer.json., (*4)

Difference with symfony/lts

symfony/lts enforces that your project don't use use a version not released as a LTS, but does not enforce that all your Symfony packages are in the same major version. For instance, when using symfony/lts v3, some packages can be installed in version 3.4, and some others in version 2.8., (*5)

Usage

Use the Composer command line:, (*6)

composer require dunglas/symfony-lock v4

The Versions

30/12 2017

dev-master

9999999-dev https://dunglas.fr

Enforces that all Symfony components use the same major / minor version

  Sources   Download

MIT

30/12 2017

v4.0

4.0.0.0 https://dunglas.fr

Enforces that all Symfony components use the same major / minor version

  Sources   Download

MIT

30/12 2017

v3.0

3.0.0.0 https://dunglas.fr

Enforces that all Symfony components use the same major / minor version

  Sources   Download

MIT

30/12 2017

v3.1

3.1.0.0 https://dunglas.fr

Enforces that all Symfony components use the same major / minor version

  Sources   Download

MIT

30/12 2017

v3.2

3.2.0.0 https://dunglas.fr

Enforces that all Symfony components use the same major / minor version

  Sources   Download

MIT

30/12 2017

v3.4

3.4.0.0 https://dunglas.fr

Enforces that all Symfony components use the same major / minor version

  Sources   Download

MIT

30/12 2017

v3.3

3.3.0.0 https://dunglas.fr

Enforces that all Symfony components use the same major / minor version

  Sources   Download

MIT