Think Build Implement Repeat
London, UK +44 7367 067226
WhatsApp FOLLOW f in X
  1. Home
  2. Blog
  3. Framework, Micro-Framework or Neither
PHP Development

Framework, Micro-Framework or Neither

Choosing a PHP framework for a business application: when a full framework, a micro-framework or no framework fits, and why business logic stays separate.

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

Use a full framework for anything with authentication, admin and business logic. Use a micro-framework for APIs and small services. Write it from nothing only for genuinely trivial scripts.

Frameworks earn their weight

Routing, authentication, database access, validation, templating, background jobs and testing infrastructure are all solved problems. Writing them again is expensive and produces something less secure.

The argument against frameworks is usually about performance, and for typical business applications the difference is irrelevant compared with database and network time.

Match the tool to the job

ApplicationFit
Business app with users and adminFull framework
API service, focused scopeMicro-framework
Content-driven siteCMS or full framework
A single scheduled scriptPlain PHP is fine
Long-lived system with a teamFull framework, without question

What matters in the choice

  1. How well maintained it is, and its release cadence
  2. How easily you can hire people who know it
  3. Documentation quality, which affects everything
  4. Ecosystem — what already exists for common needs
  5. Upgrade path between major versions
Hiring availability matters more than most technical criteria. A framework nobody in your market knows is a maintenance risk regardless of its merits.

Do not fight the framework

Most framework problems come from working against its conventions. If you find yourself repeatedly circumventing it, either the framework is wrong for the job or the approach is.

Following conventions makes the code predictable for the next developer, which is most of what maintainability means.

Keep business logic separate

Whatever framework you choose, the business rules should be in classes that do not depend on it. That makes them testable, portable and comprehensible independent of the web layer.

It also means a future framework change is a rewrite of the edges rather than of the system.

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

Which PHP framework do you use?

Whichever fits the project and the client's existing team. The choice matters less than using one consistently and properly.

Is a framework overkill for a small application?

Rarely. Small applications grow, and retrofitting structure is harder than starting with it.

What about performance overhead?

Negligible next to database and network time in typical business applications. Optimise queries before considering the framework.

Can we change framework later?

Expensive, and much less so if business logic was kept separate from the framework. That is the main argument for the separation.

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

Inherited an application with no framework?

Adding structure incrementally is usually possible. Happy to look at what you have.

  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 →