Need advice about which tool to choose?Ask the StackShare community!

Lumen

429
666
+ 1
161
Symfony

8K
6K
+ 1
1.1K
Add tool

Lumen vs Symfony: What are the differences?

Introduction

Lumen and Symfony are both popular PHP frameworks used for web application development. While they share some similarities, there are several key differences between the two.

  1. Performance: Lumen is designed to be lightweight and fast, making it a suitable choice for microservices and API development. It prioritizes performance and efficiency, which allows for quicker response times and better scalability compared to Symfony.

  2. Ease of Use: Lumen offers a simpler and more streamlined development experience, catering to developers who prefer a minimalistic approach. It provides a concise syntax and a reduced feature set, making it easier to learn and use for small to medium-sized projects. Symfony, on the other hand, is a more comprehensive framework with a steeper learning curve but offers a wider range of features and flexibility for complex applications.

  3. Documentation and Community: Symfony has a larger and more established community compared to Lumen. This results in a wealth of documentation, tutorials, and resources available, making it easier for developers to find assistance and solutions to their problems. Lumen, being a more lightweight framework, has a smaller community but still provides ample documentation and support.

  4. Application Size and Dependencies: Lumen has a smaller footprint and fewer dependencies compared to Symfony. This makes it ideal for projects that prioritize minimalism and small application size. Symfony, being a more feature-rich framework, has a larger number of dependencies and a larger footprint, making it more suitable for larger and more complex projects.

  5. Integration: Symfony is known for its seamless integration with other libraries and packages. It has a robust ecosystem of third-party components and bundles that can be easily integrated into Symfony applications. Lumen, being a micro-framework, does not offer the same level of pre-built integrations and relies more on custom development for integrating additional functionalities.

  6. Customization and Extensibility: Symfony allows for extensive customization and offers a high degree of extensibility through its bundle system. Developers can easily add, remove, or modify functionality using bundles, making it highly adaptable for a wide range of projects. Lumen, while still customizable, has a more limited set of features and a smaller number of extensions available, restricting the level of customization and extensibility.

In Summary, Lumen is a more lightweight and performant PHP framework with a simpler syntax, ideal for smaller projects that prioritize speed and minimalism. Symfony, on the other hand, is a comprehensive framework with a larger community, extensive documentation, and a wide range of integrations, making it suitable for larger and more complex projects that require flexibility and scalability.

Advice on Lumen and Symfony
Needs advice
on
GolangGolangNode.jsNode.js
and
SymfonySymfony

I'm about to begin working on an API, for which I plan to add GraphQL connectivity for processing data. The data processed will mainly be audio files being downloaded/uploaded with some user messaging & authentication.

I don't mind the difficulty in any service since I've used C++ (for data structures & algorithms at least) and would also say I am patient and can learn fairly quickly. My main concerns would be their performance, libraries/community, and job marketability.

Why I'm stuck between these three...

Symfony: I've programmed in PHP for back-end in a previous internship and may do so again in a few months.

Node.js: It's newer than PHP, and it's JavaScript where my front-end stack will be React and (likely) React Native.

Go: It's newer than PHP, I've heard of its good performance, and it would be nice to learn a new (growing) language.

See more
Replies (1)
Max Musing
Founder & CEO at BaseDash · | 6 upvotes · 196.3K views
Recommends
on
Node.jsNode.js
at

Go with Node.js. There's something really satisfying about being able to use a single language across your entire tech stack. Especially once you integrate GraphQL, which is effectively JSON.

Your second best option is Go, but the ecosystem around Node.js is quite a bit stronger. This will play a big factor when you start building functionality like file management, messaging (especially in real-time), and authentication. The libraries and documentation are just stronger for Node.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Lumen
Pros of Symfony
  • 38
    API
  • 28
    Microframework
  • 19
    MVC
  • 16
    PHP
  • 12
    Open source
  • 11
    Eloquent
  • 10
    Restful & fast framework
  • 8
    Composer
  • 7
    Illuminate support
  • 4
    Brother of laravel and fast
  • 4
    Easy to learn
  • 4
    Fast
  • 177
    Open source
  • 149
    Php
  • 130
    Community
  • 129
    Dependency injection
  • 122
    Professional
  • 80
    Doctrine
  • 75
    Organized
  • 71
    Modular architecture
  • 47
    Smart programming
  • 45
    Solid
  • 20
    Documentation
  • 15
    LTS releases
  • 10
    Easy to Learn
  • 9
    Decoupled framework components
  • 9
    Robust
  • 8
    Service container
  • 8
    Bundle
  • 8
    Good practices guideline
  • 7
    Simple
  • 7
    Powerful
  • 6
    Flexible

Sign up to add or upvote prosMake informed product decisions

Cons of Lumen
Cons of Symfony
  • 3
    Not fast
  • 2
    PHP
  • 1
    Not fast with MongoDB
  • 10
    Too many dependency
  • 8
    Lot of config files
  • 4
    YMAL
  • 3
    Feature creep
  • 1
    Bloated

Sign up to add or upvote consMake informed product decisions

What is Lumen?

Laravel Lumen is a stunningly fast PHP micro-framework for building web applications with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Lumen attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as routing, database abstraction, queueing, and caching.

What is Symfony?

It is written with speed and flexibility in mind. It allows developers to build better and easy to maintain websites with PHP..

Need advice about which tool to choose?Ask the StackShare community!

What companies use Lumen?
What companies use Symfony?
See which teams inside your own company are using Lumen or Symfony.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Lumen?
What tools integrate with Symfony?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Lumen and Symfony?
Laravel
It is a web application framework with expressive, elegant syntax. It attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
See all alternatives