Answer the question
In order to leave comments, you need to log in
how to add widget in yii2?
how to add this widget
https://github.com/2amigos/yii2-file-upload-widget
in yii2?
I can't understand how composer works, that's why there are problems.
If anyone understood the instructions - can you chew it? Step by step for those who are on the armored train.
Thanks in advance. Links to an explanatory description of the principle of composer robots are also welcome, but this is secondary.
Answer the question
In order to leave comments, you need to log in
It's also written in the README ...
In the console
or in composer.json
An example of adding to the page is here (this is in the view)
open console enter project root write
php composer.phar require "2amigos/yii2-file-upload-widget" "*"
get
Failed loading C:\xampp\php\ext\php_eaccelerator_ts.dll
Could not open input file: composer.phar
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question