phundament / app

Dockerized Yii2 web application base
http://phundament.com
Other
310 stars 129 forks source link

Update composer installed phundament #183

Closed danielblues closed 8 years ago

danielblues commented 8 years ago

Hi, How can I update a composer installed phundament? I've used this instructions to install it: https://github.com/phundament/app/blob/master/docs/alternatives/20-installation-composer.md Thank you Daniel

Quexer69 commented 8 years ago

Hi Daniel,

just run in your project root composer update

This will update your composer packages to the version constraints given in your project composer.json.

Hope thats what you are looking for.

Cheers Chris

On 28 Sep 2015, at 17:09, Daniel Feliciano Branco notifications@github.com wrote:

Hi, How can I update a composer installed phundament? I've used this instructions to install it: https://github.com/phundament/app/blob/master/docs/alternatives/20-installation-composer.md Thank you Daniel

— Reply to this email directly or view it on GitHub.

danielblues commented 8 years ago

Hi, Thank you for your quick answer, i've run 'composer install' and got the same answer as 'composer update' composer.json is one of the files I want to see updated.

  "require-dev": {
    "dmstr/yii2-cms-dev-metapackage": "dev-master",
    "dmstr/yii2-libs-metapackage": "dev-master",
    "dmstr/yii2-yaml-converter-command": "dev-master",
    "yiisoft/yii2-debug": "@stable",
    "schmunk42/yii2-giiant": "dev-master#d40733b"
  },

is now:

    "require-dev": {
     "dmstr/yii2-cms-dev-metapackage": "@stable",
     "dmstr/yii2-libs-metapackage": "@stable",
     "yiisoft/yii2-debug": "@stable",
     "schmunk42/yii2-giiant": "0.5.*"
  },

Thanks again

Quexer69 commented 8 years ago

Sorry Daniel -> composer update

You can use some options with this command

danielblues commented 8 years ago

Hi, I'm going to assume by the silence that it's not an supported update path. I will give docker a try. Daniel

schmunk42 commented 8 years ago

@danielblues You can update your packages in Phundament by using the standard composer commands. If you'd like to stay on dev-master for a package use either

The default packages in Phundament just have rather strict constraints, because less things tend to break then.

danielblues commented 8 years ago

That worked. Thank you.