How to install Yii2

Halo, kawan-kawan selamat sore, kali ini kita mencoba bagaimana cara menginstall framework php yii2
Jika kawan-kawan masih bingung cara install yii2, yuk ikuti langkah-langkah berikut:

Langkah-1, agar composer seperti bower dan NPM
composer global require “fxp/composer-asset-plugin:^1.2.0”

Langkah-2, install yii versi stabil
composer create-project –prefer-dist yiisoft/yii2-app-basic cdsyii

Setelah itu, composer akan meminta token github,

isi token tersebut tunggu 5 sampai 10 menit.

done. Semoga kawan-kawan terbantu.

Reference: http://www.yiiframework.com/doc-2.0/guide-start-installation.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s