rector/docs/HowUseWithOldPhp.md

16 lines
416 B
Markdown
Raw Normal View History

2017-11-20 19:22:07 +01:00
### How to use on PHP < 7.1 or Incompatible Composer Dependencies
You must have an isolated environment with PHP 7.1 (for example in a Docker container). When you have it then run following command:
```
2017-12-10 03:14:41 +01:00
composer create-project rector/rector:@dev path-to-rector
```
2017-11-20 19:22:07 +01:00
You will be able to run Rector like this:
```
2017-11-20 19:22:07 +01:00
path-to-rector/bin/rector <arguments>
```
2017-11-20 19:22:07 +01:00
Now you can read more in [README](../README.md/#install).