Set Up Laravel .env from Example
Copy .env.example to .env and generate the application key.
Copies .env.example to .env and generates the application encryption key. The APP_KEY must be set before Laravel can encrypt sessions, cookies, and model values.
When you need this: On first deployment of a new Laravel application to any server.
Variables
Command
8 views
0 copies
Related in this category
Log in to save
Free account. Save snippets into your own collections.