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

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!

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?

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

To install the Slim 3 skeleton use another command:

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

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

Yes. Take a look at the project on github.