M
M
Maxim Timofeev2014-12-05 15:04:08
Yii
Maxim Timofeev, 2014-12-05 15:04:08

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

3 answer(s)
V
Valentine, 2014-12-05
@webinar

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)

M
Maxim Timofeev, 2014-12-05
@webinar Asker

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

P
phpnt, 2015-03-24
@phpnt

By composer here
By widgets here )))
Good luck

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question