Jump to:

1134 Posts in 1984 Topics by 403 members

Upgrading SilverStripe

SilverStripe Forums » Upgrading SilverStripe » Upgrading to 3.1 using composer

Ask questions about upgrading SilverStripe to the latest version.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 409 Views
  • zard
    Avatar
    Community Member
    19 Posts

    Upgrading to 3.1 using composer Link to this post

    Hi,

    I've installed my current version using:

    composer create-project silverstripe/installer ./my/website/folder 3.0.3

    Is there any way to tell composer to download the 3.1 and upgrade the framework + CMS? I do not have any custom modules bar the standard CMS and unit testing.

  • zard
    Avatar
    Community Member
    19 Posts

    Re: Upgrading to 3.1 using composer Link to this post

    .. nobody?

  • martimiz
    Avatar
    Forum Moderator
    1037 Posts

    Re: Upgrading to 3.1 using composer Link to this post

    I think you should be able to change the "require" settings in the composer.json file in the root of your install. Something like:

    "require": {
       "php": ">=5.3.2",
       "silverstripe/framework": "3.1.0",
       "silverstripe/cms": "3.1.0"
       ...

    then do composer update

    Note: Make a backup first, and check Packagist for other versions you might want, like for instance 3.0.x-dev

    409 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.