Web application
A traditional server-rendered web application.
composer create-project yiisoft/app my-project
Composer is the recommended way to install Yii. If it is not installed yet, follow the instructions on the Composer website.
Choose an application template.
A traditional server-rendered web application.
composer create-project yiisoft/app my-project
An application focused on HTTP APIs.
composer create-project yiisoft/app-api my-api
A command-line application without a web layer.
composer create-project yiisoft/app-console my-console
Continue with local or Docker setup.