tag:help.slimframework.com,2011-12-27:/discussions/questions/8821-installing-slim-v3-without-composer-eg-on-shared-hosting-environmentsSlim Framework for PHP 5: Discussion 2018-12-13T07:58:51Ztag:help.slimframework.com,2011-12-27:Comment/383523402015-11-02T10:31:20Z2015-11-02T10:31:21ZInstalling slim v3 without composer (e.g. on shared hosting environments)<div><p>Hi,</p>
<p>I was able to run slim 2 on a shared hosting environment without
using composer. To do so I followed the following description:
<a href="http://www.codediesel.com/php/how-to-manually-install-slim-framework/">
http://www.codediesel.com/php/how-to-manually-install-slim-framework/</a></p>
<p>Will the same or a similar approach also be possible with slim
3?</p>
<p>With best regards, Matthias</p></div>Matthias Einbrodttag:help.slimframework.com,2011-12-27:Comment/383523402015-11-02T10:34:50Z2015-11-02T10:35:15ZInstalling slim v3 without composer (e.g. on shared hosting environments)<div><p>The best approach is to use composer in development and then add
the vendor folder to your version control system,</p>
<p>You can then deploy the complete application to any server and
do not need composer for deployment.</p>
<p>Regards,</p>
<p>Rob...</p></div>Rob Allentag:help.slimframework.com,2011-12-27:Comment/383523402016-01-05T08:32:50Z2016-01-05T08:32:51ZInstalling slim v3 without composer (e.g. on shared hosting environments)<div><p>This is my question too.<br>
I DONT have access to use composer</p>
<p>is there any way to use without any webserver configuration?</p>
<p>why did you named it MICROframework? it's a framework with these
requirements.</p></div>mfarzanegantag:help.slimframework.com,2011-12-27:Comment/383523402016-01-05T08:39:05Z2016-01-05T08:39:05ZInstalling slim v3 without composer (e.g. on shared hosting environments)<div><p>Calling it a micro framework has nothing to do with the way
dependencies are managed.</p>
<p>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..</p>
<p>Please read <a href="https://akrabat.com/using-composer-with-shared-hosting/">https://akrabat.com/using-composer-with-shared-hosting/</a>
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.</p></div>Rob Allentag:help.slimframework.com,2011-12-27:Comment/383523402016-01-05T08:48:19Z2016-01-05T08:48:19ZInstalling slim v3 without composer (e.g. on shared hosting environments)<div><p>I won't be in my office until January 5th, 2015.</p>
<p>However, I will check my E-Mails on a regular basis and will get
back to you as soon as possible.</p>
<p>With best regards, Matthias Einbrodt</p></div>Einbrodt Matthiastag:help.slimframework.com,2011-12-27:Comment/383523402016-01-05T22:51:02Z2016-01-05T22:51:03ZInstalling slim v3 without composer (e.g. on shared hosting environments)<div><p>Some shared host do let you use composer but Rob Allen
instruction is good if your host won't let you use composer.</p></div>chanh.ongtag:help.slimframework.com,2011-12-27:Comment/383523402017-04-28T18:02:33Z2017-04-28T18:02:33ZInstalling slim v3 without composer (e.g. on shared hosting environments)<div><p>@ 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.</p></div>Marektag:help.slimframework.com,2011-12-27:Comment/383523402018-12-13T07:58:50Z2018-12-13T07:58:50ZInstalling slim v3 without composer (e.g. on shared hosting environments)<div><p>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.</p></div>John Smith