# Generating your own Rector from a Recipe ## 1. Configure a Rector Recipe in `rector.yaml` ```yaml # rector.yaml parameters: rector_recipe: # run "bin/rector create" to create a new Rector + tests from this config package: "Celebrity" name: "SplitToExplodeRector" node_types: # put the main node first, it is used to create the namespace - "Assign" description: "Removes unneeded $a = $a assignments" code_before: >