O'Reilly logo

Web Application Development with Yii 2 and PHP by Jeffrey Winesett, Mark Safronov

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

Console application

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 ...

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