Consulting · 2026
JUC finance platform
A legacy monolith-to-Laravel refactor for JUC, a Danish legal training company, five massive PHP files replaced by a proper MVC application deployed on Azure.
Delivered February 2026
- PHP
- Laravel 11
- Microsoft Azure
- webCRM
- Planorama
- legacy files replaced
- 5
- IPs whitelisted
- 25
- architecture
- MVC
- platform
- Azure
Overview
TwinCurrent refactored the finance system of JUC, a Danish legal training company, into a clean Laravel MVC application on Azure, delivered in 2026. JUC ran its finance flow on a legacy PHP system: five enormous files mixing business logic, raw SQL, and HTML. It worked, but it was fragile and effectively impossible to extend safely.
TwinCurrent refactored it into a clean Laravel MVC application and deployed it on Microsoft Azure under JUC's internal security requirements, and preserved the existing webCRM and Planorama data synchronisation.
The Challenge
Five massive PHP files mixed business logic, raw SQL, and HTML in one place
Raw SQL scattered through the codebase made changes risky and hard to review
The finance flow could not be extended safely without regressions
Deployment had to satisfy JUC's internal security and IP whitelisting requirements
Existing webCRM and Planorama synchronisation had to keep working after the refactor
System Architecture
- Laravel MVCModels, views, controllers
- Eloquent ORMReplaces scattered raw SQL
- Azure deploy25 IPs whitelisted
- webCRM + PlanoramaExternal data sync
The five-file monolith was decomposed into a proper Laravel MVC application with dedicated models for Customers, Invoices, and Subscriptions. Raw SQL was migrated to Eloquent ORM, making database access safer, more readable, and reviewable.
Deployment targeted Microsoft Azure with 25 specific IP addresses whitelisted per JUC's internal security policy: enterprise-grade infrastructure from day one. The existing webCRM and Planorama synchronisation was preserved and improved.
The Solution
Laravel MVC refactor
Replaced 5 massive PHP files of mixed logic, raw SQL, and HTML with a clean Model-View-Controller architecture and dedicated models.
Eloquent ORM migration
Migrated raw SQL scattered through the codebase to Eloquent ORM for safer, more readable, maintainable database access.
Azure deployment
Deployed on Microsoft Azure with 25 IP addresses whitelisted per JUC's internal security requirements.
webCRM & Planorama sync
Maintained and improved the existing data synchronisation so the finance flow kept working reliably after the refactor.
Integration Highlights
webCRM
Customer data synchronisation preserved through the refactor.
Azure whitelisting
25 IPs whitelisted to meet JUC's security policy.
Planorama
Scheduling data kept in sync with the finance flow.
Tech Stack
PHP / Laravel
MVC application framework
Microsoft Azure
Cloud hosting with IP whitelisting
Eloquent ORM
Database layer replacing raw SQL
webCRM & Planorama
External data synchronisation
Outcomes
Five-file PHP monolith replaced by a maintainable Laravel MVC application
Raw SQL migrated to Eloquent ORM for safer, reviewable database access
Deployed on Azure with 25 IPs whitelisted to meet JUC's security policy
webCRM and Planorama synchronisation preserved and improved through the refactor
Handed over to run on JUC's own Azure
Stuck with a legacy system?
We refactored JUC's finance monolith into a clean, deployable application. If you have legacy code holding you back, let's talk.
Have a similar project? Get an estimate within 24 hours See more cases