Need advice about which tool to choose?Ask the StackShare community!
Slim vs Symfony: What are the differences?
Developers describe Slim as "A PHP micro framework". Slim is easy to use for both beginners and professionals. Slim favors cleanliness over terseness and common cases over edge cases. Its interface is simple, intuitive, and extensively documented — both online and in the code itself. On the other hand, Symfony is detailed as "A PHP full-stack web framework". Symfony is written with speed and flexibility in mind. It allows developers to build better and easy to maintain websites with PHP. Symfony can be used to develop all kind of websites, from your personal blog to high traffic ones like Dailymotion or Yahoo! Answers.
Slim belongs to "Microframeworks (Backend)" category of the tech stack, while Symfony can be primarily classified under "Frameworks (Full Stack)".
"Microframework" is the primary reason why developers consider Slim over the competitors, whereas "Open source" was stated as the key factor in picking Symfony.
Slim and Symfony are both open source tools. It seems that Symfony with 21K GitHub stars and 6.98K forks on GitHub has more adoption than Slim with 9.92K GitHub stars and 1.84K GitHub forks.
Docplanner, Webedia, and eTobb are some of the popular companies that use Symfony, whereas Slim is used by Coderus, WebbyLab, and Die Coder GmbH. Symfony has a broader approval, being mentioned in 355 company stacks & 267 developers stacks; compared to Slim, which is listed in 26 company stacks and 19 developer stacks.
Pros of Slim
- Microframework29
- API25
- Open source21
- Php19
- Fast11
- Restful & fast framework8
- Easy Setup, Great Documentation7
- Good document to upgrade from previous version5
- Clear and straightforward5
- Modular4
Pros of Symfony
- Open source167
- Php139
- Dependency injection122
- Community121
- Professional114
- Doctrine74
- Organized66
- Modular architecture62
- Smart programming42
- Solid38
- Documentation14
- LTS releases11
- Robust6
- Easy to Learn6
- Good practices guideline5
- Bundle5
- Decoupled framework components5
- Service container4
- Simple4
- Powerful2
- Flexible1
Sign up to add or upvote prosMake informed product decisions
Cons of Slim
Cons of Symfony
- Too many dependency9
- Lot of config files7
- YMAL3
- Bloated1
- Feature creep1