Install Slim3 beta with composer?

how can i install Slim3 beta with composer? I have tried --dev with no luck The official docs say nothing, and searching for composer showed nothing.

+3


source to share


1 answer


Run the following command from the command line.

$ composer require slim/slim:~3.0@dev

      

Another option is to create composer.json

with the following content.



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

      

After creating the file in the same folder, run

$ composer install

      

+7


source







All Articles