Class 'yii2fullcalendar\models\Event' not found

Hello All…

Iam trying to use philippfrenzel/yii2fullcalendar

But I got the Error

PHP Fatal Error – yii\base\ErrorException

Class ‘yii2fullcalendar\models\Event’ not found

I have the following code:

public function actionBooking()

{

$events = array();

//Testing

$Event = new \yii2fullcalendar\models\Event();

$Event->id = 1;

$Event->title = ‘Testing’;

$Event->start = date(‘Y-m-d\TH:m:s\Z’);

$events[] = $Event;

$Event = new \yii2fullcalendar\modelsEvent();

$Event->id = 2;

$Event->title = ‘Testing’;

$Event->start = date(‘Y-m-d\TH:m:s\Z’,strtotime(‘tomorrow 6am’));

$events[] = $Event;

?>

<div class="calendar-index">

<?php echo \yii2fullcalendar\yii2fullcalendar::widget(array(

  'events'=&gt; &#036;events,

));

echo ‘</div>’;

}

These lines call different classes:

[code]

$Event = new \yii2fullcalendar\models\Event();

$Event = new \yii2fullcalendar\modelsEvent();

[/cpde]