How to download and setup rector-doctrine
Open terminal and run command
                                            git clone https://github.com/rectorphp/rector-doctrine.git
                                        
                                        git clone is used to create a copy or clone of rector-doctrine repositories.
                                        You pass git clone a repository URL. it supports a few different network protocols and corresponding URL formats.
Also you may download zip file with rector-doctrine https://github.com/rectorphp/rector-doctrine/archive/master.zip
Or simply clone rector-doctrine with SSH
                                            [email protected]:rectorphp/rector-doctrine.git                                    
                                    If you have some problems with rector-doctrine
You may open issue on rector-doctrine support forum (system) here: https://github.com/rectorphp/rector-doctrine/issuesSimilar to rector-doctrine repositories
Here you may see rector-doctrine alternatives and analogs
babel prettier postcss PHP-Parser js-code-to-svg-flowchart node-dependency-tree node-precinct detective esdoc javaparser spoon bblfshd astexplorer babylon esprima JSqlParser compodoc bellybutton tiny-compiler webassemblyjs react-monocle estree escodegen remark retext gitbase participle birdseye tolerant-php-parser proposal-binary-ast