In Chapter 2, Making a Custom Application with Yii 2, we set up the entity we called console runner in the form of the PHP script called
yii in the root of the code base and skipped the explanations about what it really is. Starting then, we extensively used two particular command-line invocations, which used the scripts
./yii migrate/create and
./yii migrate. Also, we used the
./yii asset invocations in Chapter 8, Overall Behavior, to prepare our compiled assets. Now it's time to explain the value and possibilities of this entity.
Apart from the
\yii\web\Application class, which represents the web application we were building in the previous 11 chapters (Chapter 1, Getting Started, was excluded), the Yii 2 framework includes ...