---
title: "Discussion on \"Safely upgrade from PHP 7.4 to 8.1 using Rector\" | Hashnode"
description: "Discussion on \"Safely upgrade from PHP 7.4 to 8.1 using Rector\". You just have to try Rector. Heck, let the tests break, just run it."
url: "https://hashnode.com/posts/safely-upgrade-from-php-74-to-81-using-rector/632f5d283ac18d0d78a02839"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Safely upgrade from PHP 7.4 to 8.1 using Rector](https://blog.genijaho.dev/safely-upgrade-from-php-74-to-81-using-rector?utm_source=hashnode&utm_medium=feed)

You just have to try Rector. Heck, let the tests break, just run it.

Sep 24, 2022 · 4 min read · blog.genijaho.dev  
Updated Sep 25, 2022  
Read the article

-   [#php](https://hashnode.com/tag/php)
-   [#laravel](https://hashnode.com/tag/laravel)
-   [#refactoring](https://hashnode.com/tag/refactoring)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#rector](https://hashnode.com/tag/rector)

## Written by

[Geni Jaho](https://hashnode.com/@genijaho)

@genijaho

  
[View profile](https://hashnode.com/@genijaho)

It's not a bug, it's a lifestyle!

Full-stack web dev with a passion for software architecture and programming best coffees.

## Responses 1

Markdown supported · ⌘↵ to post

[Harish Patel](https://hashnode.com/@hrsptl)

[Dec 26, 2022](https://hashnode.com/posts/safely-upgrade-from-php-74-to-81-using-rector/632f5d283ac18d0d78a02839/comment/63a945d08de4e0eeae64f564)

[Geni Jaho](https://hashnode.com/@genijaho) You saved my days. It's an Amazing package for upgrading old applications' code with new syntex. I didn't see any break in the application. Thanks, man :)
