Reply: Console applications

NOTE: You are posting the message as a 'Guest', you can not edit the message or delete it
Please Log in or Register to skip this step.

Topic History of: Console applications

Max. showing the last 6 posts - (Last post first)

6 months 1 week ago
Console applications

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.