Yii3 - How to start

Comparing #29 with #30

Revision #30 was created by rackycz rackycz on Oct 13, 2025, 3:05:36 PM.

edit

Content

(draft - all will be retested later) In Yii3 it is not as easy to start as it was with Yii2. You have to install and configure basic things on your own. Yii3 uses the modern approach based on independent packages and dependency injection, but it makes it harder for newcomers. I am here to show all how I did it. Note:
 
- Instead of installing local WAMP- or XAMPP-server I will be using Docker.
 
- Do not forget about a modern IDE like PhpStorm, which comes bunled with all you will ever need.
 
 
> All the code is available in my new [GitHub repository](https://github.com/rackycz/yii3api). I will be using is as a boiler-plate for my future projects so it should be always up to date and working. Instead of installing local WAMP- or XAMPP-server I will be using Docker. Do not forget about a modern IDE like PhpStorm, which comes bunled with all you will ever need.
 

 
# Yii3 - How to start

Yii3 offers more basic applications: Web, Console, API. I will be using the API application:
- https://github.com/yiisoft/app-api
- Other apps are linked on the page
[...]