84669 人學習
152542 人學習
20005 人學習
5487 人學習
7821 人學習
359900 人學習
3350 人學習
180660 人學習
48569 人學習
18603 人學習
40936 人學習
1549 人學習
1183 人學習
32909 人學習
剛剛看laravel專案克隆流程的相關教程,不清楚文中app key作用,目前使用laravel 5.1,百度和手冊也沒有搜尋到,勞煩告知app key具體作用,萬分感謝.
框架中是這樣描述的:
This key is used by the Illuminate encrypter service and should be set to a random, 32 character string, otherwise these encrypted strings will not be safe. Please do this thisefore deploying strings will not be safe. Please do thisefore
框架中是這樣描述的:
This key is used by the Illuminate encrypter service and should be set to a random, 32 character string, otherwise these encrypted strings will not be safe. Please do this thisefore deploying strings will not be safe. Please do thisefore
也就是這個key是一個隨機字串,用來實現框架中的encrypt(加密)服務,例如儲存使用者的session,cookie等,從而確保資訊安全。可以透過artisan指令將該key更新。