Where are the rest of the files and folders other than vendor for slim3?


#1

I installed slim3 with the composer command composer require slim/slim "^3.0" and I can only see the vendor folder created. I dont see the rest of the files and folders? Can someone explain please. Thanks!


#2

That is the way it is supposed to work. All of the files you required are third party code to your project, thus installed in the vendor folder. All of Slim’s files are in the vendor folder.

Were you trying to install a skeleton app? Or what did you expect to happen?


#3

Thanks. All I want is to install a skeleton app. Maybe I did not use the right composer command?


#4

To install the Slim 3 skeleton use another command:

composer create-project slim/slim-skeleton [my-app-name]

#5

Thank you so much. Would it create the skeleton from the slim 3 version?


#6

Yes. Take a look at the project on github.