01
PHP without a framework
HTML, SQL and business rules mixed in the same files, often written by a single person. We untangle them so each rule gets its own place.
Your website or business system still runs on a PHP version with no more patches, on CodeIgniter or on in-house code written fifteen years ago. Witify rebuilds it on a current foundation, without losing a single business rule or a single line of history.
Each PHP version gets security patches for a few years, then nothing. Sooner or later the host removes it: the system has to follow or stop.
CodeIgniter 2, Symfony 1, Zend Framework 1, CakePHP 2: their communities have moved on. A flaw found today will never be fixed there.
One library cannot be updated without breaking three others. The system stays frozen where it was.
The person who wrote it is gone, and the documentation never existed. Every fix costs more than the last: that is technical debt piling up.
Hand-built SQL queries, MD5 passwords, no CSRF protection, uploaded files never checked. A newer PHP version fixes none of them.
An old PHP system does not always need a rewrite. When its architecture holds, an upgrade costs less and does the job.
The system is then modernized in stages, without downtime. A code audit compares both paths, with their costs, before you commit.
01
HTML, SQL and business rules mixed in the same files, often written by a single person. We untangle them so each rule gets its own place.
02
Controllers that do everything, SQL all the way into the views. The database itself can often be kept as it is.
03
Structured projects, frozen on a version too old to upgrade in place. Destination: a current Symfony or Laravel, depending on your team.
04
Still working, but fewer and fewer developers know them. The risk: finding who will maintain them five years from now.
05
A website turned into a management system one plugin at a time. We split the marketing site from the application, each on the tool made for it.
06
The structure is already right. We move up one version at a time rather than rewrite it all.
The source
The partner discount fit in three lines of a file from 2011. Only the code kept track of it.
<?php
2// facture.php, added in 2011
3$id = $_GET['id'];
4$res = mysql_query("SELECT * FROM commandes WHERE id = $id");
5$cmd = mysql_fetch_assoc($res);
6
7if ($cmd['type_client'] == 'P' && $cmd['total'] > 1000) {
8 $cmd['total'] = $cmd['total'] * 0.95;
9}
The inventory
Each rule gets a verdict, decided with your team: keep it, fix it or retire it. The specification starts from this list.
| Rule | Where it lived | Verdict | In the new system |
|---|---|---|---|
| 5% discount above $1,000 for a partner customer | facture.php, line 7 | Confirmed · Léa M. | Pricing, 3 tests |
| Every invoice takes the next number, with no gaps | numeros.inc.php | Confirmed · JP | Billing, 2 tests |
| A cancelled order can be reopened for 30 days | commande.php | To validate · MT | Awaiting decision |
| A reminder goes out every Monday to a former employee’s address | cron/rappel.php | Defect · to retire | Retired |
An odd rule is not always a defect. We ask the person who applies it before keeping or retiring it.
01 Discovery
Keep the order entry screen just as it is
ImportantFind out why the discount disappears on some invoices
EssentialFind an order by its old number
ImportantRun the Monday report without redoing it in Excel
EssentialKeep the current invoice numbering
EssentialEmail invoices straight from the system
LaterSee a customer’s full history, even from 2012
EssentialStop the reminder sent to a former employee
ImportantOne login per person, no more shared password
Essential02 Analysis
03 Data model
04 Mockups
05 Specification
As the billing lead, I want the partner discount to apply on its own, so that every invoice honours the customer’s agreement.
06 Development
Migrate payments from 2012 to 2016
Data ODMonday report, Excel export
Reports NKCustomer record with full history
Customers LMInvoice numbering with no gaps
Billing ODSearch by old order number
Orders NKOrder entry
Orders LMPartner customer discount
Pricing ODOne login per person
Access NK07 Quality
Our developers work with several languages and frameworks. For a PHP rewrite the destination is most often Laravel, sometimes Symfony, always on supported versions. See our technologies
Up-to-date code and clean data also make it possible to plug AI into the software: reading incoming purchase orders, sorting requests, answering a question about your figures. We start with the task whose time savings are easiest to measure.
The replay
Reading the code finds most of the rules. Replaying real data finds the rest: here, a tax rounding nobody had noticed.
The addresses
Every address Google has indexed is listed before work starts. It stays the same whenever possible. Otherwise, a 301 redirect leads to the new page.
01
The pain points noted at discovery are the starting point: processing time, errors, support requests. After the cutover, we measure again with you.
02
Additions the old code made too risky become possible again. We price them and rank them with you by what they bring to your operations.
03
Exports retyped into Excel, emails sent one by one, checks redone every month: we propose automation or AI where the time saved justifies the effort.
04
We track the PHP, framework and library calendars and plan the upgrades with you. The next end of life becomes a planned step, not another rewrite.
CuistotNet already ran Cuistot du Marchand’s recipes, orders and years of invoices. Witify rebuilt it and moved 20 data tables from the old system into it. The cutover took one weekend: on Monday morning, every kitchen found its recipes, at the same address.
Thanks to the new solution developed by Witify, reports are now generated five times faster . This solid foundation gives us all the freedom to adapt and evolve the software according to our needs, today and for the years to come.
What we are asked most often before a rewrite.
Another question? Write to us at info@witify.io or call 1 800 334 9031.
The cost depends on the number of screens, the volume of business rules and the state of the database, not on the number of lines of code. A code audit of a few days is usually enough to produce a reliable range. Our article on the cost of custom software development gives the market orders of magnitude.
Like the cost, the duration depends on the screens, the rules and the database. The audit produces the schedule. The work then moves forward in one-week sprints delivered to staging: you see the system progress every week. The cutover itself is planned for a weekend or outside operating hours.
Yes, it is a classic migration. No tool reliably converts a whole application: the two frameworks are not built the same way. We keep the database as it is when it is sound, then rewrite the controllers, models and views to match the observed behaviour. Standard screens are generated with Sprintify. The business logic is written by hand.
Yes. PHP 5.6 and 7.4 have received no security patches for years, and the same goes for PHP 8.1 and every version before it. A flaw found today will never be fixed there. Hosts eventually remove these versions, which can take the site offline overnight. That is a deadline better planned than suffered.
Both exist. A progressive modernization fits when the architecture is sound and only the technical foundation is outdated. A full rewrite becomes the better option when every fix breaks something else, when the framework is no longer supported or when nobody understands the code any more. The audit settles the question on facts rather than impressions.
It is migrated. Replayable scripts transform your current schema into the new model. Before the cutover, reconciliation reports (record counts, financial totals, statuses) compare the old and the new system. Your teams approve them. No migration goes live without that approval.
Not if addresses are handled with care. We list every indexed address, keep them where possible and put 301 redirects to the new pages in place otherwise. That is what protects the rankings you have earned. A faster site can even help them.
Yes. The old system keeps running while the new one is built in parallel. Depending on the system, the cutover happens all at once or module by module: the audit decides. It is planned with you, often outside operating hours. A rollback procedure is ready before the deployment even starts.
Yes, when your users are attached to it. They find their screens and their habits again. We only change what slows the work down, and every change is shown to them as a mockup before it is built.
Yes. We read the code, the database and the servers, then confirm each rule with your users. You come out with the documentation the system never had. A confidentiality agreement is signed on request. To take stock of the situation first, the code audit can be ordered on its own.
Yes, under control. AI reads the old code and drafts the tests and the data migration scripts. Our developers decide what is kept and review what it suggests: everything goes through the same code review, the same tests and the same staging as the rest. The hours saved come off the estimate.
Our developers work with several languages and frameworks. For a PHP rewrite, we most often recommend a supported version of PHP and Laravel for the application core, and Vue for the interfaces that call for it. We stay on PHP when your team knows it: switching languages without a reason adds risk without benefit. If your team already works with Symfony, a current Symfony is also a destination. Our technologies page details the full stack.
You do. Ownership of the code built for your project is transferred to you once it is paid in full, as our contract sets out.
That ownership holds up in practice: the code is versioned, covered by automated tests and documented, on widely used technologies (Laravel, Vue, MySQL). Another team could take it over if you ever chose to.
In 30 minutes, an expert looks at your system and tells you whether to rewrite it, modernize it or simply upgrade it. You leave knowing where to start.
Free. No commitment. Reply within 24 hours.
Names and figures shown in the interfaces are examples.