Get Advice Icon

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

Slim
Slim

209
191
+ 1
124
Symfony
Symfony

3.1K
2.4K
+ 1
954
Add tool

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.

What is Slim?

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.

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..
Get Advice Icon

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

Why do developers choose Slim?
Why do developers choose Symfony?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
    What companies use Slim?
    What companies use Symfony?

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

    What tools integrate with Slim?
    What tools integrate with Symfony?

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

    What are some alternatives to Slim and Symfony?
    ExpressJS
    Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications.
    Flask
    Flask is intended for getting started very quickly and was developed with best intentions in mind.
    Django REST framework
    It is a powerful and flexible toolkit that makes it easy to build Web APIs.
    Sinatra
    Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort.
    hapi
    hapi is a simple to use configuration-centric framework with built-in support for input validation, caching, authentication, and other essential facilities for building web applications and services.
    See all alternatives
    Decisions about Slim and Symfony
    Y. Taborda
    Y. Taborda
    Full Stack Developer · | 1 upvotes · 86.4K views
    PHP
    PHP
    Lumen
    Lumen
    Yii
    Yii
    Slim
    Slim

    I'm about to start a new project to build a REST API, and I got to this point: Yii2 Vs Lumen Vs Slim, I used Yii 1.1 a while a go and it was awesome, really easy to work with, as a developer you don't have to worry about almost anything, just setup the framework, get your php extensions, and start coding your app.

    But, I was told about performance and someone recomended Lumen or Slim to work with a micro framework and a less bloated framework, what worries me is the lack of advantages that Yii2 offers, ACF and RBAC as a native tool on the framework, gii, the model validations and all the security props already in it.

    Is it worth it? Is the performance so great on those frameworks to leave aside the advantages of a framework like Yii2?

    How do you suggest to make the test to prove wich one is better?

    PHP Lumen Yii Slim

    See more
    Benjamin Bernard-Bouissières
    Benjamin Bernard-Bouissières
    Web Developer at ipexia · | 11 upvotes · 141.2K views
    atipexiaipexia
    Django
    Django
    Python
    Python
    Symfony
    Symfony
    PythonAnywhere
    PythonAnywhere
    Namecheap
    Namecheap

    I really love Django because it is really fast to create a web application from scratch and it has a lot a facilities like the ORM or the Admin module ! The Python language is really easy to read and powerful, that's why I prefer Django over Symfony.

    I use Django at work to make tools for the technicians but I also use it for me to build my personal website which I host on PythonAnywhere, and with a domain name bought on Namecheap.

    See more
    Interest over time
    Reviews of Slim and Symfony
    No reviews found
    How developers use Slim and Symfony
    Avatar of shridhardalavi
    shridhardalavi uses SymfonySymfony

    Symfony is a set of PHP Components, a Web Application framework, a Philosophy, and a Community — all working together in harmony A framework is a collection of universal, reusable programs that accomplish particular tasks to facilitate the development of software applications. A framework is a pledge of quality, upgradability and maintainability of applications at lower cost. Applications developed using a framework are interoperable with market standards.

    Avatar of Hevelop
    Hevelop uses SymfonySymfony

    We developed our ERP with Symfony, then we use this framework and its components in e-commerce customization.

    Avatar of Hilenium
    Hilenium uses SymfonySymfony

    The RESTful backend for Hilenium was built using the Symfony2 framework.

    Avatar of Oliver Stark
    Oliver Stark uses SymfonySymfony

    Solid components backed by a great community and visionary company (sensio labs).

    Avatar of Massimo Floris
    Massimo Floris uses SymfonySymfony

    Back-end Framework, data model implementation, Database interactions.

    Avatar of Tristan Bailey
    Tristan Bailey uses SlimSlim

    Knocking up apis and smaller than laravel work projects

    Avatar of InApplet
    InApplet uses SlimSlim

    Framework usado no código da aplicação principal

    Avatar of Takkaa
    Takkaa uses SlimSlim

    we create our API with this microframework

    Avatar of Björn Pfoster
    Björn Pfoster uses SlimSlim

    A fast, slim and scalable PHP Framework

    How much does Slim cost?
    How much does Symfony cost?
    Pricing unavailable
    Pricing unavailable
    News about Slim
    More news