G
G
grigorie19902017-10-01 10:04:30
Yii
grigorie1990, 2017-10-01 10:04:30

No composer json and phar files, how to install?

Good morning!
I have OpenServer, and composer is already installed in it. I want to install an extension for Yii2 www.yiiframework.com/doc-2.0/ext-jui-index.html Says that there is no composer json file in the domains folder. And one more problem for some reason it is not possible to enter a token, it asks for "Token (hidden):" but does not allow anything to be entered.
Have a nice day, everyone!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene Wolf, 2017-10-01
@grigorie1990

Says there is no composer json file in the domains folder.
Alternatively, you can create an empty Yii project using composer, how to do this is written, for example , here , for an example:
composer create-project yiisoft/yii2-app-basic basic 2.0.12
and copy the finished composer.json file from there.
And one more problem for some reason it is not possible to enter the token, it asks for it "Token (hidden):"
It lets you enter, it just doesn't show the input, the same is true, for example, when entering a password in the console.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question