yii/hocita

Demo make an extension yii2

Installs: 5

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:yii2-extension

v1.0.1 2019-07-17 03:23 UTC

This package is auto-updated.

Last update: 2025-06-17 16:40:33 UTC


README

Extension for Yii2 Framework

Installation

The preferred way to install this extension is through composer.

Either run

composer require yii/hocita:1.0.0

or add

"yii/hocita": "*"

to the require section of your composer.json file.

Usage

To use it, modify the view .

   /* @var $this yii\web\View */
   use yii\helpers\Html;
   $this->title = 'About';
   $this->params['breadcrumbs'][] = $this->title;
   $this->registerMetaTag(['name' => 'keywords', 'content' => 'yii, developing, views,
      meta, tags']);
   $this->registerMetaTag(['name' => 'description', 'content' => 'This is the
      description of this page!'], 'description');
?>
<div class = "site-about">
   <h1><?= Html::encode($this->title) ?></h1>
   <p>
      This is the About page. You may modify the following file to customize its content:
   </p>
   <h1><?= Hoci\SayHello::world();  ?></h1>
</div>

Contact links Facebook Skype