Answer the question
In order to leave comments, you need to log in
Yii2 is already installed on the hosting, how to put widgets from krajee on it?
I put the kartik-v folder in vendor.
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use kartik\datecontrol\Module;
?>
<?= $form->field($model, 'dateAdd_patient')->widget(DateControl::classname(), [
'type'=>DateControl::FORMAT_DATETIME
]);
?>
$ php composer.phar require kartik-v/yii2-datecontrol "dev-master"
CreateProcess() failed with error code 2:
Не удается найти указанный файл
or add:
"kartik-v/yii2-datecontrol": "dev-master"
to the require section of your composer.json file. Then run:
php composer.phar update
Answer the question
In order to leave comments, you need to log in
Could not open input file: composer.phar
Well, they tell you in plain text what the problem is.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question