简体   繁体   中英

install Slim3 beta with composer?

how can I install Slim3 beta with composer? I tried --dev with no luck The official docs say nothing and composer search revealed nothing.

Run the following command from from commandline.

$ composer require slim/slim:~3.0@dev

Another option is to create a composer.json with the following content.

{
    "require": {
        "slim/slim": "~3.0@dev"
    }
}

After creating the file in the same folder run

$ composer install

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM