cenotia/yii2-calculator-widget

A calculator widget operated by vueJs

dev-master 2017-11-23 16:42 UTC

This package is not auto-updated.

Last update: 2025-01-05 05:53:58 UTC


README

This is a calculator widget which uses vuejs in the background.

Prerequisite

It loads vuejs in case it is not already there.

Installation

The preferred way to install Yii2 Calculator Widget is through Composer. Either add the following to the require section of your composer.json file:

"cenotia/yii2-calculator-widget": "dev-master"

Or run:

$ php composer.phar require cenotia/yii2-calculator-widget "dev-master"

Using Calculator Widget

CalculatorWidget is in namespace cenotia\components\calculatorWidget\CalculatorWidget.

Usage:

use cenotia\components\calculatorWidget\CalculatorWidget;
    
...
<?php echo CalculatorWidget::widget(); ?>
...