Creating laravel apps without internet connection

后端 未结 2 1592
情话喂你
情话喂你 2021-01-24 16:53

Does laravel 5.1 work without internet connection? I like to create a laravel new application when i execute laravel new test (with intenet connection) it works well; but when

2条回答
  •  礼貌的吻别
    2021-01-24 17:31

    When you use the laravel installer it fetches the latest version from the server. One solution would be to initialise a Laravel project, then add it to git version control and then when offline checkout the project to a new folder. You'd have to manually choose a new app key (I think). You will also not be able to composer require or npm install any new packages while offline.

    Once you have created it though it should run offline (unless your views are sourcing assets from, say, bootstrap or jQuery CDNs).

提交回复
热议问题