Money Plugin in Composer

Hi all,

I have added following money plugin line in composer.json file, located in my project root directory:


"require": {

        "php": ">=5.4.0",

        "yiisoft/yii2": "*",

        "yiisoft/yii2-bootstrap": "*",

        "yiisoft/yii2-swiftmailer": "*",       

        "slim/slim": "2.*",

        "kartik-v/yii2-widgets": "dev-master",

[b]        "kartik-v/yii2-money": "dev-master",        [/b]

        "kartik-v/yii2-krajee-base": "@dev"       



I move to project directory from terminal and run command:

composer update

I get following error and also I can’t find money plugin installed kartik-v folder in vendor directory:

[i][b] [RuntimeException]

/home/javed/workspace/mfc/vendor/kartik-v/yii2-krajee-base does not exist a

nd could not be created. [/b][/i]

Permissions issue?

I have given permission 0777 to vendor and kartik-v folder but i still get following error:

[b]javed@mycomputer:~/workspace/mfc$ composer update

Loading composer repositories with package information

Updating dependencies (including require-dev)

  • Removing bower-asset/jquery.inputmask (3.1.37)

  • Installing bower-asset/jquery.inputmask (3.1.38)

    Downloading: 100%


/home/javed/workspace/mfc/vendor/kartik-v/yii2-krajee-base does not exist a

nd could not be created.[/font]

update [–prefer-source] [–prefer-dist] [–dry-run] [–dev] [–no-dev] [–lock] [–no-plugins] [–no-custom-installers] [–no-scripts] [–no-progress] [–with-dependencies] [-v|vv|vvv|–verbose] [-o|–optimize-autoloader] [–ignore-platform-reqs] [packages1] … [packagesN]