A small python script to lock your major and minor versions of the libraries defined in your composer.json using the installed versions in your composer.lock.
- A Symfony project with a composer.json and a composer.lock files
- Python 2 or 3 installed on your device
- Clone the repository
git clone git@github.com:gllmcornet/symfony-dependencies-locker.git
python symfony-dependencies-locker/lock_symfony_dependencies.py path/to/your/project
And that's it !