<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/should-we-rewrite-the-php-app--tr0nxbg2n" -->

---
title: Should we rewrite the PHP app? | daily.dev
description: Discussion about "Should we rewrite the PHP app?" on daily.dev - join the developer community
canonical: https://daily.dev/posts/should-we-rewrite-the-php-app--tr0nxbg2n
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Should we rewrite the PHP app? | daily.dev
og:description: Discussion about "Should we rewrite the PHP app?" on daily.dev - join the developer community
og:url: https://daily.dev/posts/should-we-rewrite-the-php-app--tr0nxbg2n
og:image: https://api.daily.dev/og/posts/tR0NXBG2n.png
og:image:alt: Should we rewrite the PHP app?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Should we rewrite the PHP app?

**[Risto Tõldsep](https://daily.dev/sources/rydlbifz1euruh3g51ryc)** · [@ristotoldsep](https://daily.dev/ristotoldsep) · 1 min read · 73 upvotes · 24 comments

## Content

![exec-86de7474-1503-45c0-9d76-4beb6c077531.png](https://media.daily.dev/image/upload/s--J5SZUWsV--/f_auto/v1789974962/ugc/content_c68c0302-f242-47ee-842c-82ae0ae0e993?_a=BAMAMicg0)

## Community discussion

Top comments from developers on daily.dev.

**@devmandan** · 15 upvotes

> I think at the very least one should use Rector to update the code to keep yourself on the latest versioning. I've seen a number of ransom attacks on businesses over the years and it is almost always due to outdated packaging or old school systems no one could be bothered to keep up to date.

**@hashemirafsan** · 9 upvotes

> First rule: if everything works, then don't touch it
> Second Rule: Remember the first rule always

**@developerkwame** · 5 upvotes

> Hahaha, I like the ending part "So is the Revenue

**@liamwilley** · 3 upvotes

> AI slop
>
>
> Point still stands though

**@geovanisouza92** · 3 upvotes

> The issue isn't "it's old", but "it lost the capacity to keep up with changing business needs (either value or scaling) and we lost knowledge how to keep that up"

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#business](https://daily.dev/tags/business), [#php](https://daily.dev/tags/php)

[View this post on daily.dev](https://daily.dev/posts/should-we-rewrite-the-php-app--tr0nxbg2n)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/should-we-rewrite-the-php-app--tr0nxbg2n","headline":"Should we rewrite the PHP app?","text":"Discussion about \"Should we rewrite the PHP app?\" on daily.dev - join the developer community","url":"https://daily.dev/posts/should-we-rewrite-the-php-app--tr0nxbg2n","datePublished":"2026-09-21T07:18:13.444Z","dateModified":"2026-09-21T07:18:21.169Z","author":{"@type":"Person","name":"Risto Tõldsep","url":"https://daily.dev/ristotoldsep","image":"https://media.daily.dev/image/upload/s--i6RRoxB7--/f_auto,pg_1/v1794383659/avatars/avatar_ryDlbifZ1EuRuh3g51ryC?_a=BAMAMiiw0","description":"Full-Stack Developer \u0026 Designer | React · TypeScript · PHP/Laravel | Custom Websites, WP/Woocommerce","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":18050}},"image":"https://media.daily.dev/image/upload/s--w-duY-EX--/f_auto/v1789975094/posts/tR0NXBG2n?_a=BAMAMicg0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":73},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":24}],"comment":[{"@type":"Comment","text":"I think at the very least one should use Rector to update the code to keep yourself on the latest versioning. I’ve seen a number of ransom attacks on businesses over the years and it is almost always due to outdated packaging or old school systems no one could be bothered to keep up to date.","datePublished":"2026-09-21T08:16:31.398Z","dateModified":"2026-09-21T12:35:30.300Z","url":"https://daily.dev/posts/tR0NXBG2n#c-QkLWQb0hm","author":{"@type":"Person","name":"Daniel","url":"https://daily.dev/devmandan","image":"https://media.daily.dev/image/upload/s--ypn2TBF9--/f_auto/v1786619820/avatars/avatar_qDApMJOupymFKtjAmmtB4?_a=BAMAMicg0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":15}},{"@type":"Comment","text":"First rule: if everything works, then don’t touch it\nSecond Rule: Remember the first rule always","datePublished":"2026-09-21T11:08:23.594Z","url":"https://daily.dev/posts/tR0NXBG2n#c-lMVSnmOD2","author":{"@type":"Person","name":"Hashemi Rafsan","url":"https://daily.dev/hashemirafsan","image":"https://avatars2.githubusercontent.com/u/16275582?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":9}},{"@type":"Comment","text":"Hahaha, I like the ending part \u0026quot;So is the Revenue","datePublished":"2026-09-21T09:05:00.829Z","url":"https://daily.dev/posts/tR0NXBG2n#c-NPFua0nEN","author":{"@type":"Person","name":"Kwame Oteng Appiah-Nti","url":"https://daily.dev/developerkwame","image":"https://media.daily.dev/image/upload/s--A2GyhQUO--/f_auto/v1785559558/avatars/avatar_nKDQITDxjirA6sjjW7A3P?_a=BAMAMicg0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":5}},{"@type":"Comment","text":"AI slop\nPoint still stands though","datePublished":"2026-09-21T13:33:04.379Z","url":"https://daily.dev/posts/tR0NXBG2n#c-2RwpVscKs","author":{"@type":"Person","name":"Liam","url":"https://daily.dev/liamwilley","image":"https://lh3.googleusercontent.com/a/ACg8ocIAFxOkve3LDCGpBzHNbpTWC_jWFNDYATP7GUok53lThe-ObwUY=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3}},{"@type":"Comment","text":"The issue isn’t “it’s old”, but “it lost the capacity to keep up with changing business needs (either value or scaling) and we lost knowledge how to keep that up”","datePublished":"2026-09-21T13:38:26.187Z","url":"https://daily.dev/posts/tR0NXBG2n#c-yRBdPL18U","author":{"@type":"Person","name":"Geo","url":"https://daily.dev/geovanisouza92","image":"https://avatars.githubusercontent.com/u/786105?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3}}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/rydlbifz1euruh3g51ryc","name":"Risto Tõldsep"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Risto Tõldsep","item":"https://daily.dev/sources/rydlbifz1euruh3g51ryc"},{"@type":"ListItem","position":3,"name":"Should we rewrite the PHP app?"}]}
```

