Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Laravel 4 offline

I am a newbie when it comes to Laravel 4.

I would like to ask if there is a way to install Laravel 4 without internet? If there is a way to do this, can you include a link or a tutorial on how to do this?

Thanks!

like image 671
Miguel Ike Avatar asked May 19 '14 09:05

Miguel Ike


People also ask

Can I install Laravel without composer?

You cannot install laravel local without composer in your project.

How install Laravel globally in Windows?

Via Download. Once Composer is installed, download the 4.2 version of the Laravel framework and extract its contents into a directory on your server. Next, in the root of your Laravel application, run the php composer. phar install (or composer install ) command to install all of the framework's dependencies.

How do I install an older version of Laravel?

To install the old version of Laravel, the easiest way is to use the composer create-project command. Using this command we only have to specify the project name and Laravel version that we want it to be installed and there you go it's ready.


1 Answers

I would like to ask if there is a way to install Laravel 4 without internet?

Well you need The Internet to do the initial download of Laravel - but you can then move it to another computer that has no internet access:

  1. Download the Laravel framework from here (either via git - or just 'download' the zip file) into your project folder.
  2. Run composer install - which will grab all the associated vendor dependencies that Laravel needs to run.
  3. Copy the entire 'project folder' (including the vendors directory) to another computer

You can read more about Laravel installation from the official documentation. Basically once you have it working - you can then just 'copy' it to whereever you need it.

like image 178
Laurence Avatar answered Nov 24 '22 15:11

Laurence