Meta tags extension for Yii 2.0. Used for registering appropriate meta tags into current web view.
'components' => [
'metas' => [
'class' => 'dlds\metas\MetaHandler',
'title' => 'Default title goes here',
'description' => 'Default description goes here',
//...
],
//...
],
Meta tags must be registered before page render do its work
Yii::$app->metas->title = 'Custom title';
Yii::$app->metas->description = 'Custom description';