Installing Laravel 4 on remote server [closed]

2

How do I install laravel 4 on a remote server via composer?

I searched intensely on the internet and found no convincing answer that was in line with good practices or the philosophy of the framework.

    
asked by anonymous 25.10.2014 / 05:55

1 answer

0

In my company I use a git repository that from a hook post-receive trigger a command composer install in the code that was deployed.

It's quite simple, but it does require some knowledge of git and operating systems.

If you follow the philosophy of the framework, read documentation at from Laravel you will find valuable information.

For the management of the environments Laravel has the Homestead in , which is nothing more than a Vagrant VM for you to develop your application in a configuration that Laravel will work without problems.

For the deploy part, Laravel relies on Forge , an environment that sets up PaaS that can host your application. We have a free course in Laracast in shows in a very didactic way how to use this service.

Now, if you use a shared server or you want to manage your PaaS at hand, you will have to create your workflow to suit your needs, which can be from something simple to very specific.

Recommended reading:

25.10.2014 / 15:41