Yii3 - How to start

Comparing #87 with #88

Revision #88 was created by rackycz rackycz on Nov 23, 2026, 4:02:05 PM.

archi

Content

[...]
You can say that Vertical slices are MVC rotated by 90° (or flipped inside out)

If anything is shared, you can place it to folder /src/Shared. You can do whatever you want as long as it is a clean and nice solution.

Note: What actually forced as in Yii2 to use only MVC is the routing mechanism that wanted all the HTTP requests to be processed by files in folders named Controllers.
 
 
## ===== Yii3 - How to start ======

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