perkun.eu Services Portfolio Blog About Contact PL
← Blog

11/5/2021

Laravel or Symfony in 2021 — our choice and why

TL;DR: Laravel for projects where development speed and a rich ecosystem are key. Symfony for enterprise systems where architectural flexibility and control over every layer matter.

PHP in 2021 is not the same as PHP in 2010. Laravel and Symfony are mature, actively developed frameworks that power production systems with millions of users. Choosing between them is an architectural decision, not a technical one.

Laravel — what convinced us

Eloquent ORM is the most readable ORM in PHP. Relationships, eager loading, mutators — you write code that you understand 6 months later. Artisan CLI generates boilerplate in seconds. Faker and model factories make seeding a database for tests a pleasure.

The First-Party ecosystem is exceptional: Sanctum (API authentication), Breeze/Jetstream (starter kits), Horizon (Redis queue monitoring), Telescope (debugging), Forge (server provisioning). These are not third-party plugins — they are official packages that work together without configuration.

Symfony — when it wins

The Dependency Injection Container in Symfony is more powerful and more explicit. In large teams, where architectural clarity matters more than speed of writing code, Symfony enforces better patterns.

Symfony Components are used by Laravel, Drupal, and dozens of other projects — that’s proof of quality and stability. If you’re building your own framework or a highly custom system, Symfony Components are the right foundation.

Our decision

For agency projects and SaaS products: Laravel. Development speed, the First-Party ecosystem, and code readability outweigh Symfony’s architectural advantages in 90% of cases.

For enterprise clients with large development teams and systems where architectural changes are costly: we consider Symfony.

One important rule: we don’t change the framework mid-project. The choice is made at the start and stays until the end.