{"id":4510,"date":"2023-08-26T01:45:41","date_gmt":"2023-08-25T20:00:41","guid":{"rendered":"https:\/\/heyletslearnsomething.com\/?p=4510"},"modified":"2023-11-29T02:59:15","modified_gmt":"2023-11-28T21:14:15","slug":"rector-php-tutorial","status":"publish","type":"post","link":"https:\/\/heyletslearnsomething.com\/blog\/rector-php-tutorial","title":{"rendered":"Rector PHP Tutorial: Running on Windows PC"},"content":{"rendered":"<div id='av-layout-grid-1'  class='av-layout-grid-container av-winn-b2c025ef70af8f1ca4f6819c19f19e5b entry-content-wrapper main_color av-flex-cells  avia-builder-el-0  el_before_av_section  avia-builder-el-first   container_wrap fullsize'  >\n\n<style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-k8itqlpl-ddc5e381abf8e4d673c9ff44ab382af0\">\n.flex_cell.av-k8itqlpl-ddc5e381abf8e4d673c9ff44ab382af0{\nvertical-align:middle;\nbackground-color:#52b8d1;\n}\n.responsive #top #wrap_all .flex_cell.av-k8itqlpl-ddc5e381abf8e4d673c9ff44ab382af0{\npadding:2px 2px 2px 2px !important;\n}\n<\/style>\n<div class='flex_cell av-k8itqlpl-ddc5e381abf8e4d673c9ff44ab382af0 av-gridrow-cell av_one_full no_margin  avia-builder-el-1  avia-builder-el-no-sibling  content-align-middle'  ><div class='flex_cell_inner'><\/div><\/div>\n<\/div>\n<div id='av_section_1'  class='avia-section av-1mjoz-7f2d74070cc048049c8e9f924a8f9bc7 main_color avia-section-default avia-no-border-styling  avia-builder-el-2  el_after_av_layout_row  el_before_av_section  avia-bg-style-scroll container_wrap fullsize'  ><div class='container av-section-cont-open' ><div class='template-page content  av-content-full alpha units'><div class='post-entry post-entry-type-page post-entry-4510'><div class='entry-content-wrapper clearfix'>\n<div class='flex_column_table av-26m83-8e76020c40e6671b04530904b7673f4e sc-av_two_third av-equal-height-column-flextable'>\n<style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-26m83-8e76020c40e6671b04530904b7673f4e\">\n#top .flex_column_table.av-equal-height-column-flextable.av-26m83-8e76020c40e6671b04530904b7673f4e{\nmargin-top:0px;\nmargin-bottom:0px;\n}\n.flex_column.av-26m83-8e76020c40e6671b04530904b7673f4e{\nborder-radius:0px 0px 0px 0px;\npadding:0px 0px 0px 0px;\n}\n<\/style>\n<div  class='flex_column av-26m83-8e76020c40e6671b04530904b7673f4e av_two_third  avia-builder-el-3  el_before_av_one_third  avia-builder-el-first  first flex_column_table_cell av-equal-height-column av-align-top av-zero-column-padding  '     ><style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-f3t3v-25228a8f54ec0e16cfd131124d24df69\">\n#top .av-special-heading.av-f3t3v-25228a8f54ec0e16cfd131124d24df69{\npadding-bottom:5px;\nfont-size:26px;\n}\nbody .av-special-heading.av-f3t3v-25228a8f54ec0e16cfd131124d24df69 .av-special-heading-tag .heading-char{\nfont-size:25px;\n}\n#top #wrap_all .av-special-heading.av-f3t3v-25228a8f54ec0e16cfd131124d24df69 .av-special-heading-tag{\nfont-size:26px;\n}\n.av-special-heading.av-f3t3v-25228a8f54ec0e16cfd131124d24df69 .av-subheading{\nfont-size:15px;\n}\n\n@media only screen and (min-width: 480px) and (max-width: 767px){ \n#top #wrap_all .av-special-heading.av-f3t3v-25228a8f54ec0e16cfd131124d24df69 .av-special-heading-tag{\nfont-size:0.8em;\n}\n}\n\n@media only screen and (max-width: 479px){ \n#top #wrap_all .av-special-heading.av-f3t3v-25228a8f54ec0e16cfd131124d24df69 .av-special-heading-tag{\nfont-size:0.8em;\n}\n}\n<\/style>\n<div  class='av-special-heading av-f3t3v-25228a8f54ec0e16cfd131124d24df69 av-special-heading-h2 custom-color-heading blockquote modern-quote  avia-builder-el-4  avia-builder-el-no-sibling  av-inherit-size'><h2 class='av-special-heading-tag '  itemprop=\"headline\"  >Rector PHP Tutorial: Running on Windows PC<\/h2><div class=\"special-heading-border\"><div class=\"special-heading-inner-border\"><\/div><\/div><\/div><\/div><div class='av-flex-placeholder'><\/div>\n<style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-26m83-5-0b156a917d4767851ab4f531511b9403\">\n#top .flex_column_table.av-equal-height-column-flextable.av-26m83-5-0b156a917d4767851ab4f531511b9403{\nmargin-top:0px;\nmargin-bottom:0px;\n}\n.flex_column.av-26m83-5-0b156a917d4767851ab4f531511b9403{\nborder-radius:0px 0px 0px 0px;\npadding:0px 0px 0px 0px;\n}\n<\/style>\n<div  class='flex_column av-26m83-5-0b156a917d4767851ab4f531511b9403 av_one_third  avia-builder-el-5  el_after_av_two_third  el_before_av_one_half  flex_column_table_cell av-equal-height-column av-align-top av-zero-column-padding  '     ><\/div><\/div><!--close column table wrapper. Autoclose: 1 -->\n<style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-rqz3-372fdd20675e7460f39aa03a74573f93\">\n.flex_column.av-rqz3-372fdd20675e7460f39aa03a74573f93{\nborder-radius:0px 0px 0px 0px;\npadding:0px 0px 0px 0px;\n}\n<\/style>\n<div  class='flex_column av-rqz3-372fdd20675e7460f39aa03a74573f93 av_one_half  avia-builder-el-6  el_after_av_one_third  el_before_av_one_half  first flex_column_div av-zero-column-padding  column-top-margin'     ><p><section  class='av_textblock_section av-k8ipxahp-f8f53915cd34c95d3c258704c6bc2e4c '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><p>Learn how to install and use Rector, an automated refactoring tool, to upgrade your PHP code. In this step-by-step tutorial, we will guide you through the detailed process of installing and using Rector to upgrade your code and make it compatible with the latest version of PHP.<\/p>\n<p>To run Rector, you will need to install a few software packages. We provide the links to download PHP, Composer, and 7-zip. Simply extract the downloaded PHP files to a folder and add the path to the environment variables. Then, install Composer and 7-zip. Additionally, remember to add 7-zip to the environment variables.<\/p>\n<p>Once everything is set up, you will be able to execute commands in your command prompt to install Composer and create a Rector file. By using the provided code snippets, you can then upgrade your old code to be compatible with older versions of PHP, ensuring it works with the latest version.<\/p>\n<p>We hope this video provides you with all the necessary information to run Rector on your PC. Thank you very much.<\/p>\n<\/div><\/section><br \/>\n\n<style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-k9yr7wsf-b677ca1efd561e12fbdc7c18af441474\">\n#top .hr.hr-invisible.av-k9yr7wsf-b677ca1efd561e12fbdc7c18af441474{\nheight:25px;\n}\n<\/style>\n<div  class='hr av-k9yr7wsf-b677ca1efd561e12fbdc7c18af441474 hr-invisible  avia-builder-el-8  el_after_av_textblock  el_before_av_buttonrow '><span class='hr-inner '><span class=\"hr-inner-style\"><\/span><\/span><\/div><br \/>\n<div  class='avia-buttonrow-wrap av-khi0ozvm-0b24e6b4bb0de9a624bba9abbb4e9a19 avia-buttonrow-left  avia-builder-el-9  el_after_av_hr  el_before_av_textblock '>\n\n<style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-1xd1gr-f390de32bf2788d046038b66ec869c78\">\n#top #wrap_all .avia-button.av-1xd1gr-f390de32bf2788d046038b66ec869c78{\nbackground-color:#ff0000;\nborder-color:#ff0000;\ncolor:#ffffff;\ntransition:all 0.4s ease-in-out;\nmargin-bottom:5px;\nmargin-right:5px;\n}\n#top #wrap_all .avia-button.av-1xd1gr-f390de32bf2788d046038b66ec869c78 .avia-svg-icon svg:first-child{\nfill:#ffffff;\nstroke:#ffffff;\n}\n<\/style>\n<a href='https:\/\/heyletslearnsomething.com\/wp-content\/uploads\/2023\/06\/Code-to-upgrade-PHP.txt'  class='avia-button av-1xd1gr-f390de32bf2788d046038b66ec869c78 avia-icon_select-no avia-size-medium'  target=\"_blank\"  rel=\"noopener noreferrer\"  aria-label=\"Download codes to upgrade PHP compatibility\"><span class='avia_iconbox_title' >Download codes to upgrade PHP compatibility<\/span><\/a>\n\n<style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-34ddys-413860421943cede8e7a946b8535d8fb\">\n#top #wrap_all .avia-button.av-34ddys-413860421943cede8e7a946b8535d8fb{\nmargin-bottom:5px;\nmargin-right:5px;\n}\n<\/style>\n<a href='https:\/\/github.com\/rectorphp\/rector'  class='avia-button av-34ddys-413860421943cede8e7a946b8535d8fb avia-icon_select-no avia-size-medium avia-color-theme-color'  target=\"_blank\"  rel=\"noopener noreferrer\"  aria-label=\"Rector GitHub\"><span class='avia_iconbox_title' >Rector GitHub<\/span><\/a>\n\n<style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-34ddys-9337418885a926e3d142f388327dac9c\">\n#top #wrap_all .avia-button.av-34ddys-9337418885a926e3d142f388327dac9c{\nmargin-bottom:5px;\nmargin-right:5px;\n}\n<\/style>\n<a href='https:\/\/www.php.net\/downloads.php'  class='avia-button av-34ddys-9337418885a926e3d142f388327dac9c avia-icon_select-no avia-size-medium avia-color-theme-color'  target=\"_blank\"  rel=\"noopener noreferrer\"  aria-label=\"Download PHP\"><span class='avia_iconbox_title' >Download PHP<\/span><\/a>\n\n<style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-34ddys-5f203b750fb37c30c23e5090951223d6\">\n#top #wrap_all .avia-button.av-34ddys-5f203b750fb37c30c23e5090951223d6{\nmargin-bottom:5px;\nmargin-right:5px;\n}\n<\/style>\n<a href='https:\/\/getcomposer.org\/download\/'  class='avia-button av-34ddys-5f203b750fb37c30c23e5090951223d6 avia-icon_select-no avia-size-medium avia-color-theme-color'  target=\"_blank\"  rel=\"noopener noreferrer\"  aria-label=\"Download Composer\"><span class='avia_iconbox_title' >Download Composer<\/span><\/a>\n\n<style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-34ddys-29c7683b85ae8016d6934f6b2ba332ea\">\n#top #wrap_all .avia-button.av-34ddys-29c7683b85ae8016d6934f6b2ba332ea{\nmargin-bottom:5px;\nmargin-right:5px;\n}\n<\/style>\n<a href='https:\/\/7-zip.org\/'  class='avia-button av-34ddys-29c7683b85ae8016d6934f6b2ba332ea avia-icon_select-no avia-size-medium avia-color-theme-color'  target=\"_blank\"  rel=\"noopener noreferrer\"  aria-label=\"Download 7-zip\"><span class='avia_iconbox_title' >Download 7-zip<\/span><\/a>\n\n<style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-34ddys-1-2e1cb02559d6ba8011a402c9725bf827\">\n#top #wrap_all .avia-button.av-34ddys-1-2e1cb02559d6ba8011a402c9725bf827{\nmargin-bottom:5px;\nmargin-right:5px;\n}\n<\/style>\n<a href='https:\/\/www.youtube.com\/watch?v=B8NXppu6MY8&amp;list=PLPkKgerlNTP8IoVkxhioSjBYGnhuWN2fB&amp;ab_channel=Hey%2CLet%27sLearnSomething'  class='avia-button av-34ddys-1-2e1cb02559d6ba8011a402c9725bf827 avia-icon_select-no avia-size-medium avia-color-theme-color'  target=\"_blank\"  rel=\"noopener noreferrer\"  aria-label=\"Python Tutorials\"><span class='avia_iconbox_title' >Python Tutorials<\/span><\/a>\n<\/div><br \/>\n<section  class='av_textblock_section av-k8ipxahp-3-9a04d4e11c9dfb7e70d4a52bd9379538 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><p><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block;\" data-ad-format=\"fluid\" data-ad-layout-key=\"-ga+4l+f-7n+cp\" data-ad-client=\"ca-pub-3547231721771772\" data-ad-slot=\"1387011082\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/p>\n<\/div><\/section><\/p><\/div>\n<style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-rqz3-4-c00be84c4ca0d875530bf912fb066668\">\n.flex_column.av-rqz3-4-c00be84c4ca0d875530bf912fb066668{\nborder-radius:0px 0px 0px 0px;\npadding:0px 0px 0px 0px;\n}\n<\/style>\n<div  class='flex_column av-rqz3-4-c00be84c4ca0d875530bf912fb066668 av_one_half  avia-builder-el-11  el_after_av_one_half  avia-builder-el-last  flex_column_div av-zero-column-padding  column-top-margin'     ><p><div  class='avia-video av-k8iuwv7t-1abef6ac75a06bc980b280643774564b avia-video-16-9 av-no-preview-image avia-video-load-always av-lazyload-immediate av-lazyload-video-embed'  itemprop=\"video\" itemtype=\"https:\/\/schema.org\/VideoObject\"  data-original_url='https:\/\/youtu.be\/PDc9kkvw7kM'><script type='text\/html' class='av-video-tmpl'><div class='avia-iframe-wrap'><iframe title=\"Rector PHP Tutorial: Running on Windows PC\" width=\"1500\" height=\"844\" src=\"https:\/\/www.youtube.com\/embed\/PDc9kkvw7kM?feature=oembed&autoplay=1&loop=0&controls=1&mute=1\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/script><div class='av-click-to-play-overlay'><div class=\"avia_playpause_icon\"><\/div><\/div><\/div><br \/>\n<section  class='av_textblock_section av-k8ipxahp-1-34c01fb631f630cc4d4752c01e9330a5 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><p><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block;\" data-ad-format=\"fluid\" data-ad-layout-key=\"-ga+4l+f-7n+cp\" data-ad-client=\"ca-pub-3547231721771772\" data-ad-slot=\"1387011082\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/p>\n<\/div><\/section><\/p><\/div><\/div><\/div><\/div><!-- close content main div --><\/div><\/div><div id='av_section_2'  class='avia-section av-k946mwar-5eae637bfb7a3f14f70e7ded6bd5527c main_color avia-section-no-padding avia-no-border-styling  avia-builder-el-14  el_after_av_section  avia-builder-el-last  avia-bg-style-scroll container_wrap fullsize'  ><div class='container av-section-cont-open' ><div class='template-page content  av-content-full alpha units'><div class='post-entry post-entry-type-page post-entry-4510'><div class='entry-content-wrapper clearfix'>\n<section  class='av_textblock_section av-k946mr57-7cf0c34dba49ea359219c04ab57e990f '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/BlogPosting\" itemprop=\"blogPost\" ><div class='avia_textblock'  itemprop=\"text\" ><p><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<!-- Horizontal ads - heyletslearnsomething --><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block;\" data-ad-client=\"ca-pub-3547231721771772\" data-ad-slot=\"2491622464\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/p>\n<\/div><\/section>\n<\/p>\n<span class=\"et_bloom_bottom_trigger\"><\/span>","protected":false},"excerpt":{"rendered":"<p>Learn how to install and use Rector, an automated refactoring tool, to upgrade your PHP code; In this step-by-step tutorial<\/p>\n","protected":false},"author":3,"featured_media":4512,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,82],"tags":[83],"class_list":["post-4510","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-windows","tag-windows"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Rector PHP Tutorial: Running on Windows PC<\/title>\n<meta name=\"description\" content=\"Learn how to install and use Rector, an automated refactoring tool, to upgrade your PHP code; In this step-by-step tutorial\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/heyletslearnsomething.com\/blog\/rector-php-tutorial\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Rector PHP Tutorial: Running on Windows PC\" \/>\n<meta property=\"og:description\" content=\"Learn how to install and use Rector, an automated refactoring tool, to upgrade your PHP code; In this step-by-step tutorial\" \/>\n<meta property=\"og:url\" content=\"https:\/\/heyletslearnsomething.com\/blog\/rector-php-tutorial\" \/>\n<meta property=\"og:site_name\" content=\"HeyLetsLearnSomething\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/heyletslearnsomething\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-25T20:00:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-28T21:14:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/heyletslearnsomething.com\/wp-content\/uploads\/2023\/06\/Setup-and-install-Rector-Windows.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"747\" \/>\n\t<meta property=\"og:image:height\" content=\"420\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Hey Lets Learn Something\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hey Lets Learn Something\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/heyletslearnsomething.com\\\/blog\\\/rector-php-tutorial#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/heyletslearnsomething.com\\\/blog\\\/rector-php-tutorial\"},\"author\":{\"name\":\"Hey Lets Learn Something\",\"@id\":\"https:\\\/\\\/heyletslearnsomething.com\\\/#\\\/schema\\\/person\\\/8374a29edd45eab9e5be4c35d8a1cf22\"},\"headline\":\"Rector PHP Tutorial: Running on Windows PC\",\"datePublished\":\"2023-08-25T20:00:41+00:00\",\"dateModified\":\"2023-11-28T21:14:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/heyletslearnsomething.com\\\/blog\\\/rector-php-tutorial\"},\"wordCount\":2249,\"publisher\":{\"@id\":\"https:\\\/\\\/heyletslearnsomething.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/heyletslearnsomething.com\\\/blog\\\/rector-php-tutorial#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/heyletslearnsomething.com\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/Setup-and-install-Rector-Windows.jpg\",\"keywords\":[\"Windows\"],\"articleSection\":[\"blogs\",\"Windows\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/heyletslearnsomething.com\\\/blog\\\/rector-php-tutorial\",\"url\":\"https:\\\/\\\/heyletslearnsomething.com\\\/blog\\\/rector-php-tutorial\",\"name\":\"Rector PHP Tutorial: Running on Windows PC\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/heyletslearnsomething.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/heyletslearnsomething.com\\\/blog\\\/rector-php-tutorial#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/heyletslearnsomething.com\\\/blog\\\/rector-php-tutorial#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/heyletslearnsomething.com\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/Setup-and-install-Rector-Windows.jpg\",\"datePublished\":\"2023-08-25T20:00:41+00:00\",\"dateModified\":\"2023-11-28T21:14:15+00:00\",\"description\":\"Learn how to install and use Rector, an automated refactoring tool, to upgrade your PHP code; In this step-by-step tutorial\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/heyletslearnsomething.com\\\/blog\\\/rector-php-tutorial#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/heyletslearnsomething.com\\\/blog\\\/rector-php-tutorial\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/heyletslearnsomething.com\\\/blog\\\/rector-php-tutorial#primaryimage\",\"url\":\"https:\\\/\\\/heyletslearnsomething.com\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/Setup-and-install-Rector-Windows.jpg\",\"contentUrl\":\"https:\\\/\\\/heyletslearnsomething.com\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/Setup-and-install-Rector-Windows.jpg\",\"width\":747,\"height\":420,\"caption\":\"Setup and install Rector Windows\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/heyletslearnsomething.com\\\/blog\\\/rector-php-tutorial#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/heyletslearnsomething.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rector PHP Tutorial: Running on Windows PC\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/heyletslearnsomething.com\\\/#website\",\"url\":\"https:\\\/\\\/heyletslearnsomething.com\\\/\",\"name\":\"HeyLetsLearnSomething\",\"description\":\"Useful tutorials for WordPress, Windows, iPhone and more!\",\"publisher\":{\"@id\":\"https:\\\/\\\/heyletslearnsomething.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/heyletslearnsomething.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/heyletslearnsomething.com\\\/#organization\",\"name\":\"Hey Let's Learn Something\",\"url\":\"https:\\\/\\\/heyletslearnsomething.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/heyletslearnsomething.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/heyletslearnsomething.com\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/HeyLetsLearn.png\",\"contentUrl\":\"https:\\\/\\\/heyletslearnsomething.com\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/HeyLetsLearn.png\",\"width\":800,\"height\":377,\"caption\":\"Hey Let's Learn Something\"},\"image\":{\"@id\":\"https:\\\/\\\/heyletslearnsomething.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/heyletslearnsomething\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UC4aamuTFGzmMVXa78iA6O9A\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/heyletslearnsomething.com\\\/#\\\/schema\\\/person\\\/8374a29edd45eab9e5be4c35d8a1cf22\",\"name\":\"Hey Lets Learn Something\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1fa5c4be5407de73c6b50d6160d4ecdde47a27a7419138c556bb444b996bdbdb?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1fa5c4be5407de73c6b50d6160d4ecdde47a27a7419138c556bb444b996bdbdb?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1fa5c4be5407de73c6b50d6160d4ecdde47a27a7419138c556bb444b996bdbdb?s=96&d=mm&r=g\",\"caption\":\"Hey Lets Learn Something\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Rector PHP Tutorial: Running on Windows PC","description":"Learn how to install and use Rector, an automated refactoring tool, to upgrade your PHP code; In this step-by-step tutorial","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/heyletslearnsomething.com\/blog\/rector-php-tutorial","og_locale":"en_US","og_type":"article","og_title":"Rector PHP Tutorial: Running on Windows PC","og_description":"Learn how to install and use Rector, an automated refactoring tool, to upgrade your PHP code; In this step-by-step tutorial","og_url":"https:\/\/heyletslearnsomething.com\/blog\/rector-php-tutorial","og_site_name":"HeyLetsLearnSomething","article_publisher":"https:\/\/www.facebook.com\/heyletslearnsomething","article_published_time":"2023-08-25T20:00:41+00:00","article_modified_time":"2023-11-28T21:14:15+00:00","og_image":[{"width":747,"height":420,"url":"https:\/\/heyletslearnsomething.com\/wp-content\/uploads\/2023\/06\/Setup-and-install-Rector-Windows.jpg","type":"image\/jpeg"}],"author":"Hey Lets Learn Something","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Hey Lets Learn Something","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/heyletslearnsomething.com\/blog\/rector-php-tutorial#article","isPartOf":{"@id":"https:\/\/heyletslearnsomething.com\/blog\/rector-php-tutorial"},"author":{"name":"Hey Lets Learn Something","@id":"https:\/\/heyletslearnsomething.com\/#\/schema\/person\/8374a29edd45eab9e5be4c35d8a1cf22"},"headline":"Rector PHP Tutorial: Running on Windows PC","datePublished":"2023-08-25T20:00:41+00:00","dateModified":"2023-11-28T21:14:15+00:00","mainEntityOfPage":{"@id":"https:\/\/heyletslearnsomething.com\/blog\/rector-php-tutorial"},"wordCount":2249,"publisher":{"@id":"https:\/\/heyletslearnsomething.com\/#organization"},"image":{"@id":"https:\/\/heyletslearnsomething.com\/blog\/rector-php-tutorial#primaryimage"},"thumbnailUrl":"https:\/\/heyletslearnsomething.com\/wp-content\/uploads\/2023\/06\/Setup-and-install-Rector-Windows.jpg","keywords":["Windows"],"articleSection":["blogs","Windows"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/heyletslearnsomething.com\/blog\/rector-php-tutorial","url":"https:\/\/heyletslearnsomething.com\/blog\/rector-php-tutorial","name":"Rector PHP Tutorial: Running on Windows PC","isPartOf":{"@id":"https:\/\/heyletslearnsomething.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/heyletslearnsomething.com\/blog\/rector-php-tutorial#primaryimage"},"image":{"@id":"https:\/\/heyletslearnsomething.com\/blog\/rector-php-tutorial#primaryimage"},"thumbnailUrl":"https:\/\/heyletslearnsomething.com\/wp-content\/uploads\/2023\/06\/Setup-and-install-Rector-Windows.jpg","datePublished":"2023-08-25T20:00:41+00:00","dateModified":"2023-11-28T21:14:15+00:00","description":"Learn how to install and use Rector, an automated refactoring tool, to upgrade your PHP code; In this step-by-step tutorial","breadcrumb":{"@id":"https:\/\/heyletslearnsomething.com\/blog\/rector-php-tutorial#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/heyletslearnsomething.com\/blog\/rector-php-tutorial"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/heyletslearnsomething.com\/blog\/rector-php-tutorial#primaryimage","url":"https:\/\/heyletslearnsomething.com\/wp-content\/uploads\/2023\/06\/Setup-and-install-Rector-Windows.jpg","contentUrl":"https:\/\/heyletslearnsomething.com\/wp-content\/uploads\/2023\/06\/Setup-and-install-Rector-Windows.jpg","width":747,"height":420,"caption":"Setup and install Rector Windows"},{"@type":"BreadcrumbList","@id":"https:\/\/heyletslearnsomething.com\/blog\/rector-php-tutorial#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/heyletslearnsomething.com\/"},{"@type":"ListItem","position":2,"name":"Rector PHP Tutorial: Running on Windows PC"}]},{"@type":"WebSite","@id":"https:\/\/heyletslearnsomething.com\/#website","url":"https:\/\/heyletslearnsomething.com\/","name":"HeyLetsLearnSomething","description":"Useful tutorials for WordPress, Windows, iPhone and more!","publisher":{"@id":"https:\/\/heyletslearnsomething.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/heyletslearnsomething.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/heyletslearnsomething.com\/#organization","name":"Hey Let's Learn Something","url":"https:\/\/heyletslearnsomething.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/heyletslearnsomething.com\/#\/schema\/logo\/image\/","url":"https:\/\/heyletslearnsomething.com\/wp-content\/uploads\/2020\/03\/HeyLetsLearn.png","contentUrl":"https:\/\/heyletslearnsomething.com\/wp-content\/uploads\/2020\/03\/HeyLetsLearn.png","width":800,"height":377,"caption":"Hey Let's Learn Something"},"image":{"@id":"https:\/\/heyletslearnsomething.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/heyletslearnsomething","https:\/\/www.youtube.com\/channel\/UC4aamuTFGzmMVXa78iA6O9A"]},{"@type":"Person","@id":"https:\/\/heyletslearnsomething.com\/#\/schema\/person\/8374a29edd45eab9e5be4c35d8a1cf22","name":"Hey Lets Learn Something","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1fa5c4be5407de73c6b50d6160d4ecdde47a27a7419138c556bb444b996bdbdb?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1fa5c4be5407de73c6b50d6160d4ecdde47a27a7419138c556bb444b996bdbdb?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1fa5c4be5407de73c6b50d6160d4ecdde47a27a7419138c556bb444b996bdbdb?s=96&d=mm&r=g","caption":"Hey Lets Learn Something"}}]}},"_links":{"self":[{"href":"https:\/\/heyletslearnsomething.com\/wp-json\/wp\/v2\/posts\/4510","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/heyletslearnsomething.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/heyletslearnsomething.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/heyletslearnsomething.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/heyletslearnsomething.com\/wp-json\/wp\/v2\/comments?post=4510"}],"version-history":[{"count":0,"href":"https:\/\/heyletslearnsomething.com\/wp-json\/wp\/v2\/posts\/4510\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/heyletslearnsomething.com\/wp-json\/wp\/v2\/media\/4512"}],"wp:attachment":[{"href":"https:\/\/heyletslearnsomething.com\/wp-json\/wp\/v2\/media?parent=4510"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/heyletslearnsomething.com\/wp-json\/wp\/v2\/categories?post=4510"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/heyletslearnsomething.com\/wp-json\/wp\/v2\/tags?post=4510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}