How to install laravel via composer?

Hello.
Decided to go with the usual host of cms-kami to go on with the vps framework.
First time doing the setting.
On VPS install laravel using composer
Installed ubunta.
Established composer.
Plugging appeared when unpacking laravel
Installed so: composer create-project laravel/laravel /var/www/laravel/ 4.1
The first problem is the swap file, I created it and the problem was solved.
The second problem with disk space. Space 2.6 Gb
Appear here are two errors:

The disk hosting /root/.config/composer is full, this may be the cause of the following exception
[ErrorException]

ZipArchive::extractTo(): No space left on device

Don't understand how so much space is spent and where. Tell me or give link to topic, if this is where it has already been discussed.
July 2nd 19 at 13:31
3 answers
July 2nd 19 at 13:33
Don't need to install composer and other build utilities on the server. Do everything on my dev machine, then simply copy on the server.
Composer why not? - Niko.OReilly commented on July 2nd 19 at 13:36
: strange question. tell me why is it there?
I have a project that requires a node with webparam, and styles used compass to ruby, plus 100500 private repositories available on the key. Why would I want the server to carry it all if I can build the project on dev build server or my car. - Melody_Windler commented on July 2nd 19 at 13:39
: We are exactly one and the same? What does Noda with webacom to https://getcomposer.org ? And composer this is not a build tool. - Niko.OReilly commented on July 2nd 19 at 13:42
by : composer manages dependencies, deflate and installs the packages, plus pulling helper scripts - quite a build utility. To do it on a production server, nothing (with the exception of autoloader). - Melody_Windler commented on July 2nd 19 at 13:45
by : composer nothing build. Managing dependencies is not a building. How to be a dad vendor?) - Niko.OReilly commented on July 2nd 19 at 13:48
damn, he pumps out a lot of libraries that generates autoload files, runs the scripts that create .env file that generates the key for encryption, and runs optimayz scripts that accelerate the download and work, etc.
Yes to spit, even if you believe that he only manages dependencies, the main thing to understand what to do it on the prod is not worth it. - Melody_Windler commented on July 2nd 19 at 13:51
July 2nd 19 at 13:35
Don't need to install composer and other build utilities on the server.

The server I have to experiment on laravel and other frameworks.

I don't know why you need a composer, but all the lessons on installing it ask to put, allegedly because of dependencies. Help to understand, in what actually a problem error? can not some big package to unpack or kasyak somewhere deeper?
July 2nd 19 at 13:37
Try to increase memory_limit
The problem was that I nonsense give. In the end, glanced up disk space, scored 100%. Reset again and larabel got up the first time - Niko.OReilly commented on July 2nd 19 at 13:40

Find more questions by tags Laravel