O'Reilly logo

Learning Yii Testing by Matteo Pescarin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Finding your way around Yii 2

Now you should have everything you need installed on your box, so let's start looking around and see how Yii 2 is organized so that we will know where to put our hands when needed.

Remember, there's always a README.md file you can consult: in the advanced application, it will show you the structure and use of the various directories.

By just listing the content of the root of the project, you will immediately spot a big difference:

$ tree -L 1 -d
.
├── assets
├── commands
├── config
├── controllers
├── mail
├── models
├── runtime
├── tests
├── vendor
├── views
└── web

11 directories

I've willingly excluded the files from the output of tree and displayed only the directories.

It seems like all the content of what once ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required