Closed asofter closed 10 years ago
Just do not use the beta version. See https://github.com/yiisoft/yii2/blob/master/docs/guide/start-installation.md#installing-via-composer-
how I can move to the normal version without reinstalling the whole project?
Run this command php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta1"
first, and then composer update
.
`
still have problem
now my composer json looks like
"minimum-stability": "dev",
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": "2.0.0-beta",
"yiisoft/yii2-bootstrap": "2.0.0-beta",
"yiisoft/yii2-swiftmailer": "2.0.0-beta",
"yiisoft/yii2-authclient": "2.0.0-beta",
"yiisoft/yii2-imagine": "2.0.0-beta",
"yiisoft/yii2-jui": "2.0.0-beta",
"asofter/yii2-tagsinput": "*",
"2amigos/yii2-file-upload-widget" : "*",
"2amigos/yii2-file-input-widget" : "*",
"asofter/yii2-imperavi-redactor": "*"
},
"require-dev": {
"yiisoft/yii2-codeception": "*"
},
Why do you change the version to 2.0.0-beta
?
because dev version doesn't have class which I need
Class 'yii\rbac\PhpManager' not found
Did you run this command first? php composer.phar global require "fxp/composer-asset-plugin:1.0.0-beta1"
yes, but now it's not downloading assets to bower
Please following the first point in the UPGRADE guide: https://github.com/yiisoft/yii2/blob/master/framework/UPGRADE.md#upgrade-from-yii-20-beta
I followed, but now asset plugin is not working... I completely deleted and installed composer again
Dev version have class which you need https://github.com/yiisoft/yii2/blob/master/framework/rbac/PhpManager.php
Read guide.
Done Thanks
Hi, I've just updated yii2 with composer and I don't have yii\rbac\PhpManager file, so I have an error