Search code examples
phplaravelcomposer-phplaravel-5.3

How to create a new laravel project without internet connectivity?


I have composer installed and can use the

laravel new ProjectName

command to create a new project. However this requires an active internet connection. I need to be able to do the same thing offline as well. Will it work if I just copy the files from one project and then paste them in another folder with the required name?

For example. if I already have a project called 'blog' and I just created a new directory 'blog1' and pasted all the files in "blog" folder there, would that give me a new project blog1?


Solution

  • I have done it a number of times specially on my staging server where i normally duplicate a laravel application and then configure it and put my new code through ftp. it works fine. u have configure the things.