Yii2高级模板日历小部件:显示来自数据库的事件

I'm using yii2-fullcalendar widget and I used thiagotalma's post on github as a guide for the installation of the calendar widget. Below is the code that I've used to display the calendar on the page:

<?= \talma\widgets\FullCalendar::widget([
        'googleCalendar' => true,  // If the plugin displays a Google    Calendar. Default false
        'loading' => 'Carregando...', // Text for loading alert. Default 'Loading...'
        'config' => [
            // put your options and callbacks here
            // see http://arshaw.com/fullcalendar/docs/
            'lang' => 'en-ca', // optional, if empty get app language

        ],
    ]); ?>

and the above code displays the calendar on the web page. Now, I want to display the events from database but I don't have any idea how to do it. Can anyone help me regarding this matter? Thanks in advance.

You might want to look into my calendar view widget, looks like it's bang on. Takes data from your model and puts them into a responsive calendar.

I am the author btw. Should be simple enough if you read through the readme, it's step by step.