pamil / symfony-lock
Enforces that all Symfony components use the same major / minor version
Conflicts
- symfony/asset: <4.0 || >=4.1
- symfony/browser-kit: <4.0 || >=4.1
- symfony/cache: <4.0 || >=4.1
- symfony/class-loader: <4.0 || >=4.1
- symfony/config: <4.0 || >=4.1
- symfony/console: <4.0 || >=4.1
- symfony/css-selector: <4.0 || >=4.1
- symfony/debug: <4.0 || >=4.1
- symfony/debug-bundle: <4.0 || >=4.1
- symfony/dependency-injection: <4.0 || >=4.1
- symfony/doctrine-bridge: <4.0 || >=4.1
- symfony/dom-crawler: <4.0 || >=4.1
- symfony/dotenv: <4.0 || >=4.1
- symfony/event-dispatcher: <4.0 || >=4.1
- symfony/expression-language: <4.0 || >=4.1
- symfony/filesystem: <4.0 || >=4.1
- symfony/finder: <4.0 || >=4.1
- symfony/form: <4.0 || >=4.1
- symfony/framework-bundle: <4.0 || >=4.1
- symfony/http-foundation: <4.0 || >=4.1
- symfony/http-kernel: <4.0 || >=4.1
- symfony/inflector: <4.0 || >=4.1
- symfony/intl: <4.0 || >=4.1
- symfony/ldap: <4.0 || >=4.1
- symfony/lock: <4.0 || >=4.1
- symfony/monolog-bridge: <4.0 || >=4.1
- symfony/options-resolver: <4.0 || >=4.1
- symfony/process: <4.0 || >=4.1
- symfony/property-access: <4.0 || >=4.1
- symfony/property-info: <4.0 || >=4.1
- symfony/proxy-manager-bridge: <4.0 || >=4.1
- symfony/routing: <4.0 || >=4.1
- symfony/security: <4.0 || >=4.1
- symfony/security-bundle: <4.0 || >=4.1
- symfony/security-core: <4.0 || >=4.1
- symfony/security-csrf: <4.0 || >=4.1
- symfony/security-guard: <4.0 || >=4.1
- symfony/security-http: <4.0 || >=4.1
- symfony/serializer: <4.0 || >=4.1
- symfony/stopwatch: <4.0 || >=4.1
- symfony/symfony: <4.0 || >=4.1
- symfony/templating: <4.0 || >=4.1
- symfony/translation: <4.0 || >=4.1
- symfony/twig-bridge: <4.0 || >=4.1
- symfony/twig-bundle: <4.0 || >=4.1
- symfony/validator: <4.0 || >=4.1
- symfony/var-dumper: <4.0 || >=4.1
- symfony/web-link: <4.0 || >=4.1
- symfony/web-profiler-bundle: <4.0 || >=4.1
- symfony/web-server-bundle: <4.0 || >=4.1
- symfony/workflow: <4.0 || >=4.1
- symfony/yaml: <4.0 || >=4.1
README
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).
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.
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.
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
.
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.
Usage
Use the Composer command line:
composer require dunglas/symfony-lock v4