Excuse me, can I use yii3 for my new project (production environment)?

I feel that yii3 is very good, and I can’t help but want to use and update the project. May I use it for a new project? Or for local use, what should be noted if it can be used?

I don’t think that you have to excuse for anything! :] That is a very good question.

Did you notice “Looking for Yii 3 progress?” button in the homepage? When you click it, you’ll see a message that says:

Released 95/115 packages

That’s 83% of all packages already released. I’d say that it is pretty much mature for starting a new project.

Of course everything depends on the size of your project and number of end-users your design it for. If you have 10-20 persons teams working constantly on this single project only then you may soon reach the place where some package is still not available for Yii 3. But for smaller projects I’d definitely consider it.

I have started a new project a year ago. “Still” in Yii 2. If starting a new project right now, I would still go for Yii 2. But that has nothing to do with the maturity if Yii 3. I am simply not convinced that I need Yii 3. I think that the dev team has done a really, really good job creating Yii 2 and I have everything that I need right there.

And even, if support for Yii 2 will eventually be stopped (first general, then security fixes) then I am still in the lucky position that I am developing mostly projects for a very-small to small group of users. Sometimes even for just a couple of them. So I think even then I’ll be able to handle things myself.

But, if the scale of your project or group of potential users is large then I’d definitely go Yii 3.

1 Like

Short answer is: If all packages you will depend on are released, then Yes!

1 Like

Thank you for your perfect and detailed explanation. I will take a look at the current completion progress and see if the completed modules meet the needs of the project. :100:

Thank you. I have reviewed the completed list and it should meet the project requirements。

1 Like

I inspected Yii3 about 6-8 months ago, but my conclusion was that Yii2 is better.

2 Likes

For me “maturity” of something means not only its development progress, but the most important – number of people who are actively using it. You don’t want to change your old buck to a brand new car that there are no spare parts for it and nobody seriously know how to change a tire in it, right?

Yii 3 progress goes forth, much, much slower than anticipated, but still ahead. But the number of people and projects actively using it is risky small, if you ask me.

That’s for a brand new project that I plan to start, I still decided to go Yii 2 instead.

As good as yii2 is, it may not be able to withstand the future expectations of developers as PHP advances

I am not saying, that it will be. Even now there are probably things added to PHP 8.0, 8.1 and 8.2 that hasn’t been re-implemented to Yii 2 and won’t be re-implemented ever, because Yii 2 is or soon will be in maintenance mode.

I am just saying that given progress of Yii 3 and number of active users of it, Yii 2 is still a better choice for starting from scratch a brand new production project – that is what is asked in this question.

Yii2 is still great for Projects, but your assesion of Yii3 is wrong. There is great direct support to Yii3 from core developers. That is like a guarantee for getting spare from the manufacturers. Nothing is better than that!

As long as the manufacturer and spare parts provider actually drives the roads, instead of sitting in the office! :slight_smile: :slight_smile: :slight_smile:

Core developers tend to be busy with developing framework itself. Usually we get immediate response, but on some issues or questions we need to wait a couple of days or weeks. Which is perfectly normal.

That’s why I still think that any framework or technology must first have a strong out-of-dev-team in-community support to be mature enough for production-grade projects.

I don’t mean to change your mind. That’s just my personal thinking.

You could just post the link to Telegram which is pretty active

1 Like