Console applications

More
9 months 12 hours ago #7026 by admin
Console applications was created by admin
Both project templates already have a console application with them....

Console applications

Besides the rich features for building web applications, Yii also has full-featured support for console applications which are mainly used to create background and maintenance tasks that need to be performed for a website.

The structure of console applications is very similar to a Yii web application. It consists of one or more [[yii\console\Controller]] classes, which are often referred to as commands in the console environment. Each controller can also have one or more actions, just like web controllers.

Read more...