I’ve tried to install CKEditor and Imperavi Redactor using composer.
For CKEditor I got this error:
$ sudo composer require "2amigos/yii2-ckeditor-widget" "*"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- 2amigos/yii2-ckeditor-widget 0.1.1 requires yiisoft/yii2 * -> no matching package found.
- 2amigos/yii2-ckeditor-widget 0.1.0 requires ckeditor/ckeditor dev-full/stable -> no matching package found.
- Installation request for 2amigos/yii2-ckeditor-widget * -> satisfiable by 2amigos/yii2-ckeditor-widget[0.1.0, 0.1.1].
Funny, coz I’ve put “yiisoft/yii2”: “*” in my composer.json requirement
And this is the error for Imperavi Redactor:
$ sudo composer require asofter/yii2-imperavi-redactor "*"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package asofter/yii2-imperavi-redactor could not be found in any version, there may be a typo in the package name.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
what should I do to be able to install one of them ? thanks