The Slim Framework support forum has moved to This Tender forum is no longer maintained or monitored.

Installing slim v3 without composer (e.g. on shared hosting environments)

Matthias Einbrodt's Avatar

Matthias Einbrodt

02 Nov, 2015 10:31 AM


I was able to run slim 2 on a shared hosting environment without using composer. To do so I followed the following description:

Will the same or a similar approach also be possible with slim 3?

With best regards, Matthias

  1. 1 Posted by Rob Allen on 02 Nov, 2015 10:34 AM

    Rob Allen's Avatar

    The best approach is to use composer in development and then add the vendor folder to your version control system,

    You can then deploy the complete application to any server and do not need composer for deployment.



  2. 2 Posted by mfarzanegan on 05 Jan, 2016 08:32 AM

    mfarzanegan's Avatar

    This is my question too.
    I DONT have access to use composer

    is there any way to use without any webserver configuration?

    why did you named it MICROframework? it's a framework with these requirements.

  3. 3 Posted by Rob Allen on 05 Jan, 2016 08:39 AM

    Rob Allen's Avatar

    Calling it a micro framework has nothing to do with the way dependencies are managed.

    The PHP community has decided that composer is the way to manage dependencies in these same way that the NodeJS community uses npm, Perl uses CPAN, Python uses pop, Ruby uses gems, etc..

    Please read for details on how to use Composer on your local computer to manage your project's dependencies so that you do NOT have to run composer anywhere else.

  4. 4 Posted by Einbrodt Matthi... on 05 Jan, 2016 08:48 AM

    Einbrodt Matthias's Avatar

    I won't be in my office until January 5th, 2015.

    However, I will check my E-Mails on a regular basis and will get back to you as soon as possible.

    With best regards, Matthias Einbrodt

  5. 5 Posted by on 05 Jan, 2016 10:51 PM's Avatar

    Some shared host do let you use composer but Rob Allen instruction is good if your host won't let you use composer.

  6. 6 Posted by Marek on 28 Apr, 2017 06:02 PM

    Marek's Avatar

    @ Rob Allen, Slim is often used to build APIs. There is no need to use Composer for such a thing. Standard router is completely fine. Installing Composer for a small project as API is just a waste of time.

  7. 7 Posted by John Smith on 13 Dec, 2018 07:58 AM

    John Smith's Avatar

    I believe it is incorrect to state 'The PHP community'. I believe a more accurate way of putting that would be SOME members of the PHP community. Not all of us use or want to use Composer for managing dependencies.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac