Laravel's application key - what it is and how does it work?

后端 未结 6 677
无人共我
无人共我 2020-12-10 10:29

From what I know, the app key in Laravel provides protection for session and sensitive data, but what I want to understand is how exactly does it work? What is the purpose o

6条回答
  •  北海茫月
    2020-12-10 11:24

    Actually Application Key is used for all the encrypted data in laravel.If the application key is not configured in .env, your all sessions and other encrypted data will not be secure!

    Fore more laravel docs search for application key

提交回复
热议问题