mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-22 02:36:52 +01:00
17 lines
338 B
Markdown
17 lines
338 B
Markdown
# PHAR Compiler for Rector
|
|
|
|
## Compile the PHAR
|
|
|
|
```bash
|
|
composer update
|
|
php bin/compile
|
|
```
|
|
|
|
The compiled PHAR will be in `tmp/rector.phar`. Test it:
|
|
|
|
```bash
|
|
php ../tmp/rector.phar
|
|
```
|
|
|
|
Please note that running the compiler will change the contents of `composer.json` file and `vendor` directory. Revert those changes after running it.
|