T
T
topuserman2020-01-09 16:47:31
PHP
topuserman, 2020-01-09 16:47:31

Symfony or Slim framework?

I have been developing in php for over 7 years. I have never used ready-made frameworks, with the exception of individual components (or monolog libraries, guzzlehttp, etc.).
I would like to finally start mastering some kind of framework in order to have the correct architecture, routers, etc. out of the box.
I'm more comfortable with symfony, but due to its bulkiness (a million classes right out of the box), I didn't risk going deep into it.
I would like to gradually start and expand. Those. Routers, controllers, middleware, etc. (I'm not familiar with mvc either, like this for 7 years ..) And then all sorts of doctrines, etc.
Now I'm faced with a choice, should I start with symfony (I read that in the new version everything was cut by default and left at a minimum) or should I start with the slim microframework?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
F
FanatPHP, 2020-01-09
@FanatPHP

There is no million classes out of the box in the symphony. It's some wild superstition.

R
Ruslan Makhin, 2020-01-09
@rusya_mahin_page

I myself work on Symfony 4
Switched to it from Yii2
It was much easier for me after Yii2 on Symfony. Somehow
Slim also looked at less crutches
But did not cause stormy applause
And for myself I decided that if something is serious - Symfony
Throw and show a friend - Slim
And yes, Symfony is modular. So out of the box it is "empty" ..)
PySy is pure subjectivity

A
Anton, 2020-01-09
@karminski

Task question. Symphony is more focused on enterprise solutions, although no one is stopping you from using it for the next blog or one-pager. As for the bulkiness - you are in vain, everything is fine with the symphony, use only those components that your project needs.
Slim is a framework for microservices. You can probably use it to create enterprise applications, but the question is why, if there is a symphony?
Ps Left yii2 during the period of unstable updates (2 years ago).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question