Answer the question
In order to leave comments, you need to log in
Which framework to choose?
There is an opinion that a developer who has been using one framework for a long time, in part, degrades professionally. Now I can confirm this saying.
This is my third year working for a company that develops its product on a closed, expensive CMF.
I don't really know what's going on in the PHP world, I just have to follow the development of the main engine...
But now a task has arisen. There was interest in their own small project.
The project, its concept is similar to an online store, I think this is enough for a global description.
Now the question is: what to write on?
As I now see, the trend on the Internet is Yii and Symfony.
Interested in Yii.Moreover, recently Cook-book came to hand. I noticed that Yii2 is being actively developed now, I wanted to try it - it did not work out. No documentation even in English. Taking the old Yii and migrating in half a year is somehow not encouraging.
Symfony 2. Such a solid thing, very much so. Somehow it even became scary after reading a short listing.
Actually, the question is: what to take? Or maybe there are still worthy, well-documented options?
Answer the question
In order to leave comments, you need to log in
Symfony 2 - academic, loosely coupled, thoughtful. A little Java way. For learning proper OOP is the best option. Slightly higher level of entry, therefore somewhat less popular.
Yii is fast and simple. Few crutches, few bicycles, the components are tightly coupled.
Symphony - large and medium projects. (For small projects you can try Silex, it is based on symphony components).
Yi - medium and small.
To choose, dig two options and choose what you like best. Also try Laravel, it's Yii's main niche competitor
Laravel is currently the most popular PHP framework on Github (most stars)
laravel I recommend to look at the documentation, but phalcon has not yet been mentioned - it is loosely coupled, it is connected as a php module. The speed of work is at a height, the convenience of development is somewhere in the order of magnitude lower ...
I don't understand how you could not find the yii2 docs
Times: www.yiiframework.com/doc-2.0/guide-index.html
Two (api): stuff.cebe.cc/yii2docs
We are phalcon fans . Documentation in Russian, applications are easy to build. It supports noSQL (mongo queries) out of the box, though I had to write my own profiler, similar to yii's.
There is beanstalk. Supports volt templater. The speed of the framework is excellent.
It actually connects as a PHP extension, so it will not work for all hosters. It is better to run such things on VDS / VPS or on your own / rented machines.
I would say that it is suitable for a large project where speed is important.
By subject - I recommend to look at all the frameworks, but you can stop for such a project on Yii. But really, with the transition to the 2nd version, not only will there be a lot of changes, but it is not clear how the written code will work with the new framework.
Let's focus on Laravel and Symfony
Symfony - it has the best solutions, useful for your own learning
Laravel - similar to previous posts
Final opinion - laravel
https://github.com/jmathai/epiphany - The Epiphany PHP Framework (microframework).
seriously, you should probably choose between yii and laravel
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question