{"id":94660,"library":"rector-rector-src","title":"Rector","description":"Instant Upgrade and Automated Refactoring of any PHP code.","status":"active","version":"2.4.6","language":"php","source_language":null,"source_url":"https://github.com/rectorphp/rector-src","tags":["refactoring","upgrade","automation","php"],"install":[{"cmd":"composer require rector/rector-src","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Rector","correct":"use Rector\\Rector\\Rector;"}],"quickstart":{"code":"use Rector\\Rector\\Rector;\n\n$rector = new Rector();\n$rector->refactor(['src/']);","lang":"php","description":"Run automated refactoring on the src directory."},"warnings":[{"fix":"Run with --dry-run first to preview changes.","message":"Rector can introduce breaking changes; always review changes before applying.","severity":"breaking","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'autom':5,13 'code':10 'instant':2 'php':9,14 'rector':1 'refactor':6,11 'upgrad':3,12","created_at":"2026-06-19T10:10:15.153830+00:00","updated_at":"2026-06-19T10:10:15.153830+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://getrector.com","github":"https://github.com/rectorphp/rector-src","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["build-tool","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}