Revision #46 has been created by
rackycz on Apr 5, 2026, 9:35:45 AM with the memo:
git
« previous (#45) next (#47) »
Changes
Title
unchanged
Yii3 - How to start
Category
unchanged
Tutorials
Yii version
unchanged
3.0
Tags
unchanged
Content
changed
[...]
# Intro
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.
> ## Git
All
themy code is available in my
new [GitHub repositor
yies:
- [Yii3 API demo](https://github.com/rackycz/yii3api)
. (May be dropped in the future as `yii3web` offers more)
- [Yii3 WEB demo](https://github.com/rackycz/yii3web) (I think I will use this one more)
I will be using it as a boiler-plate for my future projects so it should be always up-to-date and working.
## Docker
Instead of installing local WAMP- or XAMPP-server I will be using Docker. Do not forget about a modern IDE like PhpStorm, which comes bundled with all you will ever need.
## PSR Standards by Framework Interoperability Group
First of all, learn what [PHP Standards Recommendations](https://en.wikipedia.org/wiki/PHP_Standard_Recommendation) by [Framework Interoperability Group (FIG)](https://www.php-fig.org/psr) are. It will help you understand why so many "weird" PSR imports are in the Yii3 code. In short: These interfaces help authors of different frameworks to write compatible classes so they can be reused in any other framework following these principles.[...]