Think Build Implement Repeat
London, UK +44 7367 067226
WhatsApp FOLLOW f in X
  1. Home
  2. Blog
  3. The Layer Between Systems That Do Not Talk
PHP Development

The Layer Between Systems That Do Not Talk

Integration middleware in PHP: why point-to-point connections stop scaling, how a middle layer maps and queues data, and why reconciliation is essential.

Updated 2 min readBy SpiderHunts Technologies

Free estimateNo obligation

Get a free estimate

Tell us what you need. A senior engineer reads every enquiry.

Takes under a minute. We never share your details.

  • Free consultation
  • No commitment
  • NDA on request

Prefer to talk? Book a free 30-minute call →

Quick answer — TL;DR

Middleware translates between systems, queues work when one is unavailable, and gives you a record of what moved. Point-to-point connections without it become unmaintainable quickly.

Point-to-point does not scale

Two systems connected directly is manageable. Five systems connected to each other is twenty connections, each with its own error handling, and changing any one of them affects four others.

The moment you have a third system, a middle layer stops being over-engineering and starts being the thing that keeps the whole arrangement comprehensible.

What the middle layer does

  1. Translates between each system's data format and terminology
  2. Queues work when a destination is unavailable
  3. Retries transient failures with backoff
  4. Deduplicates, so a retry cannot create two records
  5. Records everything that moved, for reconciliation

Mapping is the hard part

Systems disagree about what a customer is, what a product is and what an order status means. Reconciling those is business work rather than technical work, and it is where the time goes.

  • Agree the canonical definition of each entity
  • Document how each system's version maps to it
  • Decide which system is authoritative for each field
  • Handle the cases where they disagree, explicitly

Reconciliation is not optional

A daily comparison of what was sent against what arrived catches silent failures the same day. Without it, a broken connection can run for weeks with nobody noticing.

It is a small piece of work and it is the difference between a reliable integration and one people stop trusting.

Make it observable

NeedProvide
What moved today?A summary report
Why did this record fail?Per-record logs with the payload
Is anything stuck?Queue depth monitoring
Can we reprocess it?A retry mechanism for quarantined items
Who changed the mapping?Configuration in version control

FAQ

Frequently asked questions

The questions readers ask us after this guide.

Still have a question?

Ask us directly — a senior engineer will get back to you.

Ask about your project

Do we need middleware for two systems?

Probably not. From three onwards it usually pays for itself in maintainability.

Should we use an integration platform instead?

For simple, low-volume connections, frequently yes. Custom middleware earns its place with complex mapping or high volume.

How do we handle a system being down?

Queue the work and retry. Nothing should be lost because a destination was temporarily unavailable.

What does this cost?

£6,000–£20,000 depending on the number of systems and the complexity of the mapping.

Keep reading

More on PHP Development

PHP Development

Why PHP Is Still a Sensible Choice

Is PHP still a good choice for business applications? Where modern, typed PHP fits, where another language is better, and the hosting and hiring arguments.

PHP Development

Improving Old Code Without a Rewrite

Modernising a legacy PHP application without a rewrite: move to a supported PHP version, add tests around what matters, then strangle rather than replace.

Start here

Data retyped between three systems?

Tell us which systems and what moves between them. We will map what a connection would involve.

  1. You tell us what you needTwo minutes on the form, or a message on WhatsApp.
  2. A senior engineer reviews itAnd comes back with questions, a realistic range and an honest view on fit.
  3. Free 30-minute scoping callWe talk through scope, options and a realistic estimate — with no obligation.
Free estimateNo obligation

Talk to someone who builds this

Send a short brief and we will come back with an honest view and a realistic range.

Takes under a minute. We never share your details.

  • Free consultation
  • No commitment
  • NDA on request

Prefer to talk? Book a free 30-minute call →