Think Build Implement Repeat
London, UK +44 7367 067226
WhatsApp FOLLOW f in X
PHP Development

Why PHP Is Still a Sensible Choice

Last updated:

The reputation is out of date

Much of the criticism PHP attracts describes code written fifteen years ago. Modern PHP has strict typing, proper dependency management, mature frameworks and performance that is entirely competitive for typical business workloads.

The language has changed considerably. A great deal of the code written in it has not, which is where the reputation comes from.

Where it genuinely fits

  • Web applications with database-backed workflows — the large majority of business software
  • Content-driven sites and portals
  • Internal tools and admin systems
  • Anything needing cheap, widely available hosting
  • Anywhere developer availability matters more than novelty
For a business tool that reads and writes a database and presents forms and reports, PHP does the job as well as anything and costs less to host and staff.

Where something else is better

  1. Heavy numerical or scientific work — Python has the ecosystem
  2. Long-running real-time connections at scale — other runtimes fit better
  3. Machine learning — the libraries live elsewhere
  4. Systems programming — obviously not the right tool

What modern PHP looks like

FeatureWhat it gives you
Strict typesErrors caught before runtime
ComposerProper dependency management
PSR standardsInteroperable libraries
Modern frameworksStructure without reinventing it
Static analysisWhole-codebase type checking

A codebase using those looks and behaves very differently from the PHP people remember.

The practical arguments

Hosting is cheap and universally available. Developers are plentiful and affordable. Deployment is simple. Most businesses already have somewhere to run it.

Those are unglamorous advantages and they matter more to a small business than language elegance does.

Frequently asked questions

Is PHP still being developed?

Actively, with regular major releases bringing performance and language improvements. It is not a language in maintenance mode.

Should we rewrite an old PHP application?

Usually modernise rather than rewrite. Incremental improvement to a working system beats a rewrite that has to reach feature parity.

Is it secure?

As secure as the code written in it. Modern frameworks handle the common vulnerabilities by default, which older hand-written code did not.

What version should we be on?

A currently supported release, always. Running an unsupported version means no security fixes, which is the main risk with PHP applications.

Keep reading

Have a PHP application nobody wants to touch?

It is usually modernisable rather than needing replacement. Happy to assess what you have.

Book a free 30-minute call Get a project estimate WhatsApp us

Related services

What we build for problems like this one

Web DevelopmentCustom Software Development