yiisoft / yii2

Yii 2: The Fast, Secure and Professional PHP Framework
http://www.yiiframework.com
BSD 3-Clause "New" or "Revised" License
14.24k stars 6.91k forks source link

How should I use Yii2 version 2.0.42.1 in my project #20155

Closed Pet36 closed 6 months ago

Pet36 commented 6 months ago

How should I use Yii2 version 2.0.42.1 in my project I need help. I just started Yii2 development. I need to use the specified version of Yii2 (2.0.42.1) to build my project, but I don’t know how to get the specified version of Yii2. So what should I do?

samdark commented 6 months ago

Specify exactly that version in your composer.json and do composer update.

Pet36 commented 6 months ago

I can't use composer to get 2.0.42.1. Can you teach me how to achieve it in detail?

schmunk42 commented 6 months ago

You can download the source from here: https://github.com/yiisoft/yii2/releases/tag/2.0.42.1

or

git checkout 2.0.42.1